diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 8f3347d..3b41758 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -8,23 +8,22 @@ jobs: runs-on: ubuntu-latest steps: - name: Set up Go - uses: actions/setup-go@v1 + uses: actions/setup-go@v5 with: - go-version: 1.22.x + go-version: 1.23.x id: go - name: Check out code into the Go module directory - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Get dependencies run: | go get -v -t -d ./... - if [ -f Gopkg.toml ]; then - curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh - dep ensure - fi - name: Lint + uses: golangci/golangci-lint-action@v6 + with: + version: v1.61 run: ./scripts/lint.sh linted - name: Test