Skip to content

Commit 0ae22c4

Browse files
authored
ci: pin dependencies (#210)
Signed-off-by: Florian Lehner <dev@der-flo.net>
1 parent 264d9cf commit 0ae22c4

File tree

5 files changed

+15
-15
lines changed

5 files changed

+15
-15
lines changed

.github/workflows/codeql.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -28,22 +28,22 @@ jobs:
2828

2929
steps:
3030
- name: Checkout repository
31-
uses: actions/checkout@v4
31+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3232
with:
3333
# We must fetch at least the immediate parents so that if this is
3434
# a pull request then we can checkout the head.
3535
fetch-depth: 2
3636

3737
# Initializes the CodeQL tools for scanning.
3838
- name: Initialize CodeQL
39-
uses: github/codeql-action/init@v3
39+
uses: github/codeql-action/init@b56ba49b26e50535fa1e7f7db0f4f7b4bf65d80d # v3.28.10
4040
with:
4141
languages: ${{ matrix.language }}
4242

4343
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
4444
# If this step fails, then you should remove it and run the build manually (see below)
4545
- name: Autobuild
46-
uses: github/codeql-action/autobuild@v3
46+
uses: github/codeql-action/autobuild@b56ba49b26e50535fa1e7f7db0f4f7b4bf65d80d # v3.28.10
4747

4848
# ℹ️ Command-line programs to run using the OS shell.
4949
# 📚 https://git.io/JvXDl
@@ -57,4 +57,4 @@ jobs:
5757
# make release
5858

5959
- name: Perform CodeQL Analysis
60-
uses: github/codeql-action/analyze@v3
60+
uses: github/codeql-action/analyze@b56ba49b26e50535fa1e7f7db0f4f7b4bf65d80d # v3.28.10

.github/workflows/commit-check.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Checkout code
17-
uses: actions/checkout@v4
17+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1818
with:
1919
fetch-depth: 0
2020
- name: Check if commits are signed

.github/workflows/go.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ jobs:
2424
runs-on: ${{ matrix.platform }}
2525
steps:
2626
- name: Checkout code
27-
uses: actions/checkout@v4
27+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2828
- name: Install Go
29-
uses: actions/setup-go@v5
29+
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
3030
with:
3131
go-version: ${{ matrix.go-version }}
3232
- name: Download Go dependencies
@@ -60,9 +60,9 @@ jobs:
6060
runs-on: ubuntu-latest
6161
steps:
6262
- name: Checkout code
63-
uses: actions/checkout@v4
63+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
6464
- name: Install Go
65-
uses: actions/setup-go@v5
65+
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
6666
with:
6767
go-version: ${{ matrix.go-version }}
6868
- name: Download Go dependencies
@@ -74,7 +74,7 @@ jobs:
7474
go install golang.org/x/lint/golint@latest
7575
$(go env GOPATH)/bin/golint $(go list ./... | grep -v internal/unix)
7676
- name: staticcheck.io
77-
uses: dominikh/staticcheck-action@v1.3.1
77+
uses: dominikh/staticcheck-action@fe1dd0c3658873b46f8c9bb3291096a617310ca6 # v1.3.1
7878
with:
7979
version: "2025.1"
8080
install-go: false

.github/workflows/integration.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
target_arch: ["amd64", "arm64"]
2121
steps:
2222
- name: checkout
23-
uses: actions/checkout@v4
23+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2424

2525
- name: set up Go
26-
uses: actions/setup-go@v5
26+
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
2727
with:
2828
go-version: 1.23
2929
id: go
@@ -43,7 +43,7 @@ jobs:
4343
4444
- name: upload initramfs for tests
4545
# Upload the generated initramfs.cpio and make it available for the parallel per-kernel tests.
46-
uses: actions/upload-artifact@v4
46+
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
4747
with:
4848
name: initramfs-${{ matrix.target_arch }}
4949
path: |
@@ -90,7 +90,7 @@ jobs:
9090
9191
- name: get initramfs
9292
# Fetch the initramfs.cpio that was created in the previous step.
93-
uses: actions/download-artifact@v4
93+
uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
9494
with:
9595
name: initramfs-${{ matrix.target_arch }}
9696

.github/workflows/sourcegraph-lsif-indexing.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
container: sourcegraph/lsif-go:latest
1414
steps:
15-
- uses: actions/checkout@v4
15+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1616
- name: Generate LSIF data
1717
run: lsif-go
1818
- name: Upload LSIF data

0 commit comments

Comments
 (0)