Skip to content

Commit 9e01ee3

Browse files
Update and pin GitHub Actions deps (#160)
1 parent 554f309 commit 9e01ee3

File tree

4 files changed

+22
-22
lines changed

4 files changed

+22
-22
lines changed

.github/workflows/docker.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ jobs:
2525
runs-on: ubuntu-latest
2626
steps:
2727
- name: Set up Docker Buildx
28-
uses: docker/setup-buildx-action@v2
28+
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
2929

3030
- name: Calculate docker image tag
3131
id: set-tag
32-
uses: docker/metadata-action@master
32+
uses: docker/metadata-action@c1e51972afc2121e065aed6d45c65596fe445f3f # v5.8.0
3333
with:
3434
images: |
3535
ghcr.io/${{ github.repository }}
@@ -44,14 +44,14 @@ jobs:
4444
4545
- name: Log in to DockerHub
4646
if: github.event_name != 'pull_request'
47-
uses: docker/login-action@v2
47+
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0
4848
with:
4949
username: ${{ secrets.DOCKER_HUB_USERNAME }}
5050
password: ${{ secrets.DOCKER_HUB_TOKEN }}
5151

5252
- name: Log in to GHCR
5353
if: github.event_name != 'pull_request'
54-
uses: docker/login-action@v2
54+
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0
5555
with:
5656
registry: ghcr.io
5757
username: ${{ github.repository_owner }}

.github/workflows/tests.yaml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -11,30 +11,30 @@ jobs:
1111
name: Cargo Check
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v2
15-
- uses: actions-rs/toolchain@v1
14+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
15+
- uses: actions-rs/toolchain@b2417cde72dcf67f306c0ae8e0828a81bf0b189f # v1.0.6
1616
with:
1717
profile: minimal
1818
toolchain: stable
1919
override: true
20-
- uses: Swatinem/rust-cache@v1
21-
- uses: actions-rs/cargo@v1
20+
- uses: Swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0 # v2.8.0
21+
- uses: actions-rs/cargo@ae10961054e4aa8b4aa7dffede299aaf087aa33b # v1.0.1
2222
with:
2323
command: check
2424

2525
test:
2626
name: Test Suite
2727
runs-on: ubuntu-latest
2828
steps:
29-
- uses: actions/checkout@v2
30-
- uses: actions-rs/toolchain@v1
29+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
30+
- uses: actions-rs/toolchain@b2417cde72dcf67f306c0ae8e0828a81bf0b189f # v1.0.6
3131
with:
3232
profile: minimal
3333
toolchain: stable
3434
override: true
35-
- uses: Swatinem/rust-cache@v1
35+
- uses: Swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0 # v2.8.0
3636
- run: cd compressor_integration_tests && docker compose up -d
37-
- uses: actions-rs/cargo@v1
37+
- uses: actions-rs/cargo@ae10961054e4aa8b4aa7dffede299aaf087aa33b # v1.0.1
3838
with:
3939
command: test
4040
args: --workspace
@@ -43,15 +43,15 @@ jobs:
4343
name: Rustfmt
4444
runs-on: ubuntu-latest
4545
steps:
46-
- uses: actions/checkout@v2
47-
- uses: actions-rs/toolchain@v1
46+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
47+
- uses: actions-rs/toolchain@b2417cde72dcf67f306c0ae8e0828a81bf0b189f # v1.0.6
4848
with:
4949
profile: minimal
5050
toolchain: stable
5151
override: true
5252
components: rustfmt
53-
- uses: Swatinem/rust-cache@v1
54-
- uses: actions-rs/cargo@v1
53+
- uses: Swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0 # v2.8.0
54+
- uses: actions-rs/cargo@ae10961054e4aa8b4aa7dffede299aaf087aa33b # v1.0.1
5555
with:
5656
command: fmt
5757
args: --all -- --check
@@ -60,15 +60,15 @@ jobs:
6060
name: Clippy
6161
runs-on: ubuntu-latest
6262
steps:
63-
- uses: actions/checkout@v2
64-
- uses: actions-rs/toolchain@v1
63+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
64+
- uses: actions-rs/toolchain@b2417cde72dcf67f306c0ae8e0828a81bf0b189f # v1.0.6
6565
with:
6666
profile: minimal
6767
toolchain: stable
6868
override: true
6969
components: clippy
70-
- uses: Swatinem/rust-cache@v1
71-
- uses: actions-rs/cargo@v1
70+
- uses: Swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0 # v2.8.0
71+
- uses: actions-rs/cargo@ae10961054e4aa8b4aa7dffede299aaf087aa33b # v1.0.1
7272
with:
7373
command: clippy
7474
args: -- -D warnings

.github/workflows/triage_incoming.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
name: Add new issues to the triage board
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: octokit/graphql-action@v2.x
12+
- uses: octokit/graphql-action@8ad880e4d437783ea2ab17010324de1075228110 # v2.3.2
1313
id: add_to_project
1414
with:
1515
headers: '{"GraphQL-Features": "projects_next_graphql"}'

.github/workflows/triage_labelled.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
if: >
1212
contains(github.event.issue.labels.*.name, 'X-Needs-Info')
1313
steps:
14-
- uses: actions/add-to-project@main
14+
- uses: actions/add-to-project@244f685bbc3b7adfa8466e08b698b5577571133e # v1.0.2
1515
id: add_project
1616
with:
1717
project-url: "https://github.com/orgs/matrix-org/projects/67"

0 commit comments

Comments
 (0)