diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml index abeca95..96f30bf 100644 --- a/.forgejo/workflows/test.yml +++ b/.forgejo/workflows/test.yml @@ -5,14 +5,14 @@ on: jobs: lint_job: runs-on: raw - container: - image: golangci/golangci-lint:v1.56.2 steps: - name: Check out repository uses: actions/checkout@v3 + + - name: Setup golang + uses: actions/setup-go@v5 + with: + go-version: "1.21" - name: Run linters - uses: https://github.com/wearerequired/lint-action@v2 - with: - gofmt: true - golint: true \ No newline at end of file + run: golangci-lint run --issues-exit-code 0 --out-format code-climate | tee gl-code-quality-report.json \ No newline at end of file