Skip to content

Commit

Permalink
Update golangci-lint workflow's 'runs-on' value
Browse files Browse the repository at this point in the history
The 'runs-on' value of the golangci-lint workflow file has been updated from 'ubuntu-latest' to 'docker'. This change improves the replication of the production environment conditions for linting, ensuring more accurate code quality checks.
  • Loading branch information
wneessen committed Feb 13, 2024
1 parent c3af617 commit 5297342
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .forgejo/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ jobs:
name: lint
runs-on: docker
steps:
- uses: actions/setup-go@v3
- uses: https://github.com/actions/setup-go@v3
with:
go-version: '1.22'
- uses: actions/checkout@v3
- uses: https://github.com/actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
uses: https://github.com/golangci/golangci-lint-action@v3
with:
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
version: latest
Expand Down

0 comments on commit 5297342

Please sign in to comment.