Skip to content

Commit d3dc174

Browse files
authored
Merge pull request #34 from rudransh-shrivastava/rudransh/github-actions-sha-hash
.github: pin github actions to full-length commit SHA
2 parents cb2042c + e51414f commit d3dc174

2 files changed

Lines changed: 13 additions & 13 deletions

File tree

.github/workflows/lint.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,20 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Checkout
12-
uses: actions/checkout@v6
12+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1313
with:
1414
fetch-depth: 0
1515

1616
- name: Set up Go
17-
uses: actions/setup-go@v6
17+
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
1818
with:
1919
go-version: "1.26"
2020

2121
- name: Run ui build
2222
run: make ui-build
2323

2424
- name: golangci-lint
25-
uses: golangci/golangci-lint-action@v9
25+
uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0
2626
with:
2727
version: v2.11
2828

.github/workflows/release.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,18 @@ jobs:
1616
steps:
1717

1818
- name: Checkout
19-
uses: actions/checkout@v6
19+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2020
with:
2121
fetch-depth: '0'
2222
fetch-tags: 'true'
2323

2424
- name: Setup Go
25-
uses: actions/setup-go@v6
25+
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
2626
with:
2727
go-version: 1.26
2828

2929
- name: Setup Node.js
30-
uses: actions/setup-node@v6
30+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
3131
with:
3232
node-version: 24
3333

@@ -63,28 +63,28 @@ jobs:
6363
rm cmd/sql-to-logsql/web/ui/package-lock.json.backup
6464
6565
- name: golangci-lint
66-
uses: golangci/golangci-lint-action@v9
66+
uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0
6767
with:
6868
version: v2.11
6969

7070
- name: Tests
7171
run: make test
7272

7373
- name: Set up QEMU
74-
uses: docker/setup-qemu-action@v4
74+
uses: docker/setup-qemu-action@06116385d9baf250c9f4dcb4858b16962ea869c3 # v4.1.0
7575

7676
- name: Set up Docker Buildx
77-
uses: docker/setup-buildx-action@v4
77+
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
7878

7979
- name: Docker Login
80-
uses: docker/login-action@v4
80+
uses: docker/login-action@650006c6eb7dba73a995cc03b0b2d7f5ca915bee # v4.2.0
8181
with:
8282
registry: ghcr.io
8383
username: ${{ github.repository_owner }}
8484
password: ${{ secrets.GITHUB_TOKEN }}
8585

8686
- name: Build and release
87-
uses: goreleaser/goreleaser-action@v7
87+
uses: goreleaser/goreleaser-action@5daf1e915a5f0af01ddbcd89a43b8061ff4f1a89 # v7.2.2
8888
if: success() && startsWith(github.ref, 'refs/tags/')
8989
with:
9090
args: release --clean --verbose --timeout 60m -f .goreleaser.yaml
@@ -96,13 +96,13 @@ jobs:
9696
steps:
9797

9898
- name: Checkout
99-
uses: actions/checkout@v6
99+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
100100
with:
101101
fetch-depth: '0'
102102
fetch-tags: 'true'
103103

104104
- name: Install JDK and Maven
105-
uses: actions/setup-java@v5
105+
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
106106
with:
107107
distribution: 'temurin'
108108
java-version: '11'

0 commit comments

Comments
 (0)