Bump golang.org/x/crypto from 0.29.0 to 0.30.0 #137
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
lint-and-build: | |
name: Lint and Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.22.x | |
cache-dependency-path: "go.sum" | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v6 | |
with: | |
version: v1.60.3 | |
args: --config ./.golangci.yml | |
- name: Build all Binaries | |
run: make all | |
run-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.23.x | |
- name: Install dependencies | |
uses: actions/setup-node@v4 | |
with: | |
node-version: lts/* | |
- name: Check for changes in services | |
uses: dorny/paths-filter@v3 | |
id: filter | |
with: | |
base: main | |
filters: | | |
workflow: | |
- ".github/workflows/ci.yaml" | |
certs: | |
- "cmd/certs/**" | |
- "sdk/**" | |
- "certs.pb.go" | |
- "certs_grpc.pb.go" | |
- "postgres/**" | |
cli: | |
- "cmd/cli/**" | |
- "sdk/**" | |
- "cli/**" | |
- name: Create coverage directory | |
run: mkdir coverage | |
- name: Run certs tests | |
if: steps.changes.outputs.certs == 'true' || steps.changes.outputs.workflow == 'true' | |
run: go test --race -v -count=1 -coverprofile=coverage/certs.out ./... | |
- name: Run cli tests | |
if: steps.changes.outputs.cli == 'true' || steps.changes.outputs.workflow == 'true' | |
run: go test --race -v -count=1 -coverprofile=coverage/cli.out ./cli/... | |
- name: Run postgres tests | |
if: steps.changes.outputs.postgres == 'true' || steps.changes.outputs.workflow == 'true' | |
run: go test --race -v -count=1 -coverprofile=coverage/postgres.out ./postgres/... | |
- name: Run sdk tests | |
if: steps.changes.outputs.sdk == 'true' || steps.changes.outputs.workflow == 'true' | |
run: go test --race -v -count=1 -coverprofile=coverage/sdk.out ./sdk/... | |
- name: Upload coverage | |
uses: codecov/codecov-action@v5 | |
with: | |
token: ${{ secrets.CODECOV }} | |
files: ./coverage/*.out | |
codecov_yml_path: .codecov.yml | |
verbose: true |