Skip to content

Commit 5b9e5e1

Browse files
[build-and-test] Pin external github action versions (#1315)
Summary: Pins versions to shas for external actions used by the build-and-test github action. Type of change: /kind cleanup Test Plan: N/A should be no changes. Signed-off-by: James Bartlett <jamesbartlett@pixielabs.ai>
1 parent 18611a1 commit 5b9e5e1

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/build_and_test.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- /etc/bazelrc:/etc/bazelrc
2525
options: --cpus 16
2626
steps:
27-
- uses: actions/checkout@v3
27+
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0
2828
with:
2929
fetch-depth: 0
3030
- name: Add pwd to git safe dir
@@ -54,7 +54,7 @@ jobs:
5454
outputs:
5555
matrix: ${{ steps.set-matrix.outputs.matrix }}
5656
steps:
57-
- uses: actions/checkout@v3
57+
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0
5858
with:
5959
fetch-depth: 0
6060
- name: Add pwd to git safe dir
@@ -70,7 +70,7 @@ jobs:
7070
echo "Build & Test matrix: ${matrix}"
7171
echo "matrix=${matrix}" >> $GITHUB_OUTPUT
7272
- name: Upload Target Files
73-
uses: actions/upload-artifact@v3
73+
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
7474
with:
7575
name: target_files
7676
path: |
@@ -93,10 +93,10 @@ jobs:
9393
fail-fast: false
9494
name: ${{ matrix.name }}
9595
steps:
96-
- uses: actions/checkout@v3
96+
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0
9797
- name: Add pwd to git safe dir
9898
run: git config --global --add safe.directory `pwd`
99-
- uses: actions/download-artifact@v3
99+
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
100100
- name: get dev bazel config
101101
if: github.event_name != 'push'
102102
uses: ./.github/actions/bazelrc

0 commit comments

Comments
 (0)