mirror of
https://github.com/coredns/coredns.git
synced 2025-11-02 10:13:14 -05:00
Update workflow versioning (#6165)
* Use major version pinning for actions to reduce dependeabot churn. * Use tilde matching for Go versions to use the latest patch release. * Checkout before installing Go to fix go module caching. Signed-off-by: SuperQ <superq@gmail.com>
This commit is contained in:
6
.github/workflows/golangci-lint.yml
vendored
6
.github/workflows/golangci-lint.yml
vendored
@@ -6,10 +6,10 @@ jobs:
|
||||
name: lint
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: '1.20.0'
|
||||
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
|
||||
go-version: '~1.20.0'
|
||||
- name: golangci-lint
|
||||
uses: golangci/golangci-lint-action@v3.6.0
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user