@@ -11,12 +11,14 @@ jobs:
1111 generate :
1212 runs-on : ubuntu-latest
1313 steps :
14- - uses : actions/checkout@v4
15- - uses : actions/setup-go@v5
14+ - uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
15+ with :
16+ persist-credentials : false
17+ - uses : actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0
1618 with :
1719 go-version-file : ' go.mod'
1820 cache : true
19- - uses : hashicorp/setup-terraform@v3
21+ - uses : hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3.1.2
2022 - run : go generate ./...
2123 - name : git diff
2224 run : |
@@ -26,25 +28,27 @@ jobs:
2628 test :
2729 runs-on : ubuntu-latest
2830 steps :
29- - uses : actions/checkout@v4
31+ - uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
32+ with :
33+ persist-credentials : false
3034
3135 - name : Set up Go
32- uses : actions/setup-go@v5
36+ uses : actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0
3337 with :
3438 go-version-file : ' go.mod'
3539 cache : true
3640
3741 - name : golangci-lint
3842 continue-on-error : true
39- uses : golangci/golangci-lint-action@v6
43+ uses : golangci/golangci-lint-action@55c2c1448f86e01eaae002a5a3a9624417608d84 # v6.5.2
4044 with :
4145 args : --issues-exit-code=0 --timeout=5m
4246
4347 - name : Run tests
4448 run : go test -race -coverprofile=coverage.out -covermode=atomic -coverpkg=./... -v ./...
4549
4650 - name : Upload to codecov
47- uses : codecov/codecov-action@v5
51+ uses : codecov/codecov-action@75cd11691c0faa626561e295848008c8a7dddffe # v5.5.4
4852 with :
4953 verbose : true
5054
@@ -57,12 +61,13 @@ jobs:
5761 pull-requests : write
5862 actions : write
5963 steps :
60- - uses : actions/checkout@v4
64+ - uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
6165 with :
6266 fetch-depth : 0
67+ persist-credentials : false
6368
6469 - name : Prepare release
65- uses : labd/changie-release-action@v0.6.0
70+ uses : labd/changie-release-action@ac4d65e736733f1d2c363dd5d99b43a1add5aaef # v0.6.0
6671 with :
6772 github-token : ${{ secrets.GITHUB_TOKEN }}
6873 release-workflow : ' release.yaml'
0 commit comments