Skip to content

Commit 5e06119

Browse files
authored
CI: pin actions to commit SHAs (#202)
1 parent 0121b4a commit 5e06119

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ jobs:
2020
matrix:
2121
java: [ '17', '21' ]
2222
steps:
23-
- uses: actions/checkout@v4
23+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2424
- name: Set up JDK
25-
uses: actions/setup-java@v4
25+
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
2626
with:
2727
java-version: ${{ matrix.java }}
2828
distribution: temurin
2929
- name: Cache local Maven repository
30-
uses: actions/cache@v4
30+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
3131
with:
3232
path: ~/.m2/repository
3333
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
@@ -60,12 +60,12 @@ jobs:
6060
--volume /tmp:/movies
6161
steps:
6262
- name: Set up JDK 17
63-
uses: actions/setup-java@v4
63+
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
6464
with:
6565
java-version: 17
6666
distribution: temurin
6767
- name: Cache local Maven repository
68-
uses: actions/cache@v4
68+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
6969
with:
7070
path: ~/.m2/repository
7171
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
@@ -76,14 +76,14 @@ jobs:
7676
- name: Import dataset
7777
run: docker exec --interactive neo4j-e2e cypher-shell -u neo4j -p it_is_now_verysecret --file /movies/movies.cypher
7878
- name: Check out project sources
79-
uses: actions/checkout@v4
79+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
8080
- name: Check out test harness sources
81-
uses: actions/checkout@v4
81+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
8282
with:
8383
repository: neo4j-examples/movies-harness
8484
path: e2e
8585
ref: ${{ github.event.client_payload.sha }}
86-
- uses: cypress-io/github-action@v6
86+
- uses: cypress-io/github-action@e65cba2e7319696fc0fdc4d5a319b737aec4ba1c # v6.10.3
8787
env:
8888
NEO4J_VERSION: ${{ matrix.neo4j-version }}
8989
NEO4J_URI: bolt://localhost

0 commit comments

Comments
 (0)