diff --git a/.gitea/workflows/go-lint.yaml b/.gitea/workflows/go-lint.yaml index 2d171e6..4f63300 100644 --- a/.gitea/workflows/go-lint.yaml +++ b/.gitea/workflows/go-lint.yaml @@ -9,14 +9,10 @@ jobs: - name: Checkout repository code uses: actions/checkout@v6 - - name: Set up Go - uses: actions/setup-go@v6.5.0 - with: - go-version: '1.26.6' - cache-dependency-path: go.sum - - name: Print toolchain version - run: go version + run: | + go version + golangci-lint version - name: Verify formatting run: | @@ -34,6 +30,4 @@ jobs: run: go vet ./... - name: Run golangci-lint - uses: golangci/golangci-lint-action@v9.0.0 - with: - version: v2.12.2 + run: golangci-lint run .