Update golangci-lint workflow's 'runs-on' value
Some checks failed
golangci-lint / lint (push) Has been cancelled

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.
This commit is contained in:
Winni Neessen 2024-02-13 18:58:18 +01:00
parent c3af61791e
commit 5297342603
Signed by: wneessen
SSH key fingerprint: SHA256:2okvNhNtkbGikQOkTH4pY1pMPA/Kc1K1YdWl5EbtAQY

View file

@ -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