Skip to content

fix: update golang-lint to 1.55 to fix some errors #22

fix: update golang-lint to 1.55 to fix some errors

fix: update golang-lint to 1.55 to fix some errors #22

Workflow file for this run

name: Run tests and linter
on: [push, pull_request, workflow_dispatch]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '^1.18.x'
- name: Install dependencies
run: go mod vendor
- name: Run tests
run: go test -race -cover ./...
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '^1.18.x'
- name: Install dependencies
run: go mod vendor
- uses: golangci/golangci-lint-action@v3
with:
version: v1.55
skip-pkg-cache: true
skip-build-cache: true