Skip to content

chore(deps): bump golang.org/x/crypto from 0.21.0 to 0.31.0 in the go_modules group across 1 directory #84

chore(deps): bump golang.org/x/crypto from 0.21.0 to 0.31.0 in the go_modules group across 1 directory

chore(deps): bump golang.org/x/crypto from 0.21.0 to 0.31.0 in the go_modules group across 1 directory #84

name: lint-and-test
on:
push:
branches: [main]
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ^1.22
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.58.1
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ^1.22
id: go
- name: Download dependencies
run: go mod download
- name: Test
run: go test -v -coverprofile=coverage.txt -covermode=count ./...
- uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}