Skip to content

fix: fix a lint error #420

fix: fix a lint error

fix: fix a lint error #420

Workflow file for this run

---
name: test-main
on:
push:
branches: [main]
permissions: {}
jobs:
test-main:
runs-on: ubuntu-latest
permissions: {}
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
go-version: "1.21.5"
cache: true
- uses: aquaproj/aqua-installer@928a2ee4243a9ee8312d80dc8cbaca88fb602a91 # v2.2.0
with:
aqua_version: v2.21.0
env:
AQUA_GITHUB_TOKEN: ${{github.token}}
- run: golangci-lint run
- run: go test -v ./... -race -covermode=atomic