Skip to content

Commit 4c35b2a

Browse files
committed
ci: pin actions to sha
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent dad033c commit 4c35b2a

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/test.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,16 @@ jobs:
4444
if: matrix.ipv6
4545
run: sudo sysctl -w net.ipv6.conf.lo.disable_ipv6=0 net.ipv6.conf.default.disable_ipv6=0 net.ipv6.conf.all.disable_ipv6=0
4646
- name: Checkout code
47-
uses: actions/checkout@v6
47+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
48+
with:
49+
persist-credentials: false
4850
- name: Install Go ${{ matrix.go-version }}
49-
uses: actions/setup-go@v6
51+
uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
5052
with:
5153
go-version: ${{ matrix.go-version }}
5254
go-version-file: "go.mod" # used when go-version is not specified.
5355
- name: Lint
54-
uses: golangci/golangci-lint-action@v9
56+
uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0
5557
with:
5658
args: --timeout=5m --verbose
5759
- name: Build

0 commit comments

Comments
 (0)