Skip to content

Commit 5216297

Browse files
committed
Pin GHA to tags
with octopin
1 parent e3199a2 commit 5216297

16 files changed

+69
-69
lines changed

.github/workflows/checks.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
runs-on: ubuntu-22.04
2222
steps:
2323
- name: Checkout
24-
uses: actions/checkout@v4
24+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2525
with:
2626
# we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves
2727
fetch-depth: 0
@@ -34,16 +34,16 @@ jobs:
3434
git checkout scratch
3535
3636
- name: Set up JDK 11
37-
uses: actions/setup-java@v4
37+
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
3838
with:
3939
java-version: 11
4040
distribution: temurin
4141

4242
- name: Install sbt
43-
uses: sbt/setup-sbt@v1
43+
uses: sbt/setup-sbt@6c68d2fe8dfbc0a0534d70101baa2e0420e1a506 # v1.1.9
4444

4545
- name: Cache Coursier cache
46-
uses: coursier/cache-action@v6
46+
uses: coursier/cache-action@4e2615869d13561d626ed48655e1a39e5b192b3c # v6.4.7
4747

4848
- name: Code style check and binary-compatibility check
4949
run: sbt "verifyCodeStyle; mimaReportBinaryIssues"
@@ -53,7 +53,7 @@ jobs:
5353
runs-on: ubuntu-22.04
5454
steps:
5555
- name: Checkout
56-
uses: actions/checkout@v4
56+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
5757
with:
5858
fetch-depth: 0
5959
fetch-tags: true
@@ -65,16 +65,16 @@ jobs:
6565
git checkout scratch
6666
6767
- name: Set up JDK 11
68-
uses: actions/setup-java@v4
68+
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
6969
with:
7070
java-version: 11
7171
distribution: temurin
7272

7373
- name: Install sbt
74-
uses: sbt/setup-sbt@v1
74+
uses: sbt/setup-sbt@6c68d2fe8dfbc0a0534d70101baa2e0420e1a506 # v1.1.9
7575

7676
- name: Cache Coursier cache
77-
uses: coursier/cache-action@v6
77+
uses: coursier/cache-action@4e2615869d13561d626ed48655e1a39e5b192b3c # v6.4.7
7878

7979
- name: Compile all code with fatal warnings for Java 11, Scala 2.12 and Scala 2.13
8080
run: sbt "clean ; +Test/compile"
@@ -84,7 +84,7 @@ jobs:
8484
runs-on: ubuntu-22.04
8585
steps:
8686
- name: Checkout
87-
uses: actions/checkout@v4
87+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
8888
with:
8989
fetch-depth: 0
9090
fetch-tags: true
@@ -96,16 +96,16 @@ jobs:
9696
git checkout scratch
9797
9898
- name: Set up JDK 11
99-
uses: actions/setup-java@v4
99+
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
100100
with:
101101
java-version: 11
102102
distribution: temurin
103103

104104
- name: Install sbt
105-
uses: sbt/setup-sbt@v1
105+
uses: sbt/setup-sbt@6c68d2fe8dfbc0a0534d70101baa2e0420e1a506 # v1.1.9
106106

107107
- name: Cache Coursier cache
108-
uses: coursier/cache-action@v6
108+
uses: coursier/cache-action@4e2615869d13561d626ed48655e1a39e5b192b3c # v6.4.7
109109

110110
- name: Create all API docs for artifacts/website and all reference docs
111111
run: sbt "unidoc; docs/paradox"

.github/workflows/dependency-graph.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
runs-on: ubuntu-latest
2727
if: github.repository == 'apache/pekko-projection'
2828
steps:
29-
- uses: actions/checkout@v4
29+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3030
- name: Install sbt
31-
uses: sbt/setup-sbt@v1
32-
- uses: scalacenter/sbt-dependency-submission@v2
31+
uses: sbt/setup-sbt@6c68d2fe8dfbc0a0534d70101baa2e0420e1a506 # v1.1.9
32+
- uses: scalacenter/sbt-dependency-submission@f3c0455a87097de07b66c3dc1b8619b5976c1c89 # v2.3.1

.github/workflows/format.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
if: github.repository == 'apache/pekko-projection'
3131
steps:
3232
- name: Checkout current branch (full)
33-
uses: actions/checkout@v4
33+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3434
with:
3535
fetch-depth: 0
3636
fetch-tags: true

.github/workflows/headers.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,19 +28,19 @@ jobs:
2828
runs-on: ubuntu-22.04
2929
steps:
3030
- name: Checkout
31-
uses: actions/checkout@v4
31+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3232

3333
- name: Setup Java 11
34-
uses: actions/setup-java@v4
34+
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
3535
with:
3636
distribution: temurin
3737
java-version: 11
3838

3939
- name: Install sbt
40-
uses: sbt/setup-sbt@v1
40+
uses: sbt/setup-sbt@6c68d2fe8dfbc0a0534d70101baa2e0420e1a506 # v1.1.9
4141

4242
- name: Cache Coursier cache
43-
uses: coursier/cache-action@v6
43+
uses: coursier/cache-action@4e2615869d13561d626ed48655e1a39e5b192b3c # v6.4.7
4444

4545
- name: Check headers
4646
run: |-

.github/workflows/integration-tests-cassandra.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- { java-version: 11, scala-version: 2.12, sbt-opts: '-J-XX:+UnlockExperimentalVMOptions -J-XX:+UseJVMCICompiler' }
3030
steps:
3131
- name: Checkout
32-
uses: actions/checkout@v4
32+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3333
with:
3434
fetch-depth: 0
3535
fetch-tags: true
@@ -41,16 +41,16 @@ jobs:
4141
git checkout scratch
4242
4343
- name: Setup JDK ${{ matrix.java-version }}
44-
uses: actions/setup-java@v4
44+
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
4545
with:
4646
java-version: ${{ matrix.java-version }}
4747
distribution: temurin
4848

4949
- name: Install sbt
50-
uses: sbt/setup-sbt@v1
50+
uses: sbt/setup-sbt@6c68d2fe8dfbc0a0534d70101baa2e0420e1a506 # v1.1.9
5151

5252
- name: Cache Coursier cache
53-
uses: coursier/cache-action@v6
53+
uses: coursier/cache-action@4e2615869d13561d626ed48655e1a39e5b192b3c # v6.4.7
5454

5555
- name: Run all integration tests with Scala ${{ matrix.scala-version }} and Java ${{ matrix.java-version }}
5656
run: sbt ++${{ matrix.scala-version }} cassandra-test/test ${{ matrix.sbt-opts }}

.github/workflows/integration-tests-jdbc.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- { java-version: 8, scala-version: 3.3, sbt-opts: '' }
3030
steps:
3131
- name: Checkout
32-
uses: actions/checkout@v4
32+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3333
with:
3434
fetch-depth: 0
3535
fetch-tags: true
@@ -45,16 +45,16 @@ jobs:
4545
cp container-license-acceptance.txt jdbc-int-test/src/test/resources/container-license-acceptance.txt
4646
4747
- name: Setup JDK ${{ matrix.java-version }}
48-
uses: actions/setup-java@v4
48+
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
4949
with:
5050
java-version: ${{ matrix.java-version }}
5151
distribution: temurin
5252

5353
- name: Install sbt
54-
uses: sbt/setup-sbt@v1
54+
uses: sbt/setup-sbt@6c68d2fe8dfbc0a0534d70101baa2e0420e1a506 # v1.1.9
5555

5656
- name: Cache Coursier cache
57-
uses: coursier/cache-action@v6
57+
uses: coursier/cache-action@4e2615869d13561d626ed48655e1a39e5b192b3c # v6.4.7
5858

5959
- name: Run all integration tests with Scala ${{ matrix.scala-version }} and Java ${{ matrix.java-version }}
6060
run: sbt ++${{ matrix.scala-version }} jdbc-int-test/test ${{ matrix.sbt-opts }}

.github/workflows/integration-tests-kafka.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- { java-version: 11, scala-version: 2.12, sbt-opts: '-J-XX:+UnlockExperimentalVMOptions -J-XX:+UseJVMCICompiler' }
3030
steps:
3131
- name: Checkout
32-
uses: actions/checkout@v4
32+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3333
with:
3434
fetch-depth: 0
3535
fetch-tags: true
@@ -41,16 +41,16 @@ jobs:
4141
git checkout scratch
4242
4343
- name: Setup JDK ${{ matrix.java-version }}
44-
uses: actions/setup-java@v4
44+
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
4545
with:
4646
java-version: ${{ matrix.java-version }}
4747
distribution: temurin
4848

4949
- name: Install sbt
50-
uses: sbt/setup-sbt@v1
50+
uses: sbt/setup-sbt@6c68d2fe8dfbc0a0534d70101baa2e0420e1a506 # v1.1.9
5151

5252
- name: Cache Coursier cache
53-
uses: coursier/cache-action@v6
53+
uses: coursier/cache-action@4e2615869d13561d626ed48655e1a39e5b192b3c # v6.4.7
5454

5555
- name: Run all integration tests with Scala ${{ matrix.scala-version }} and Java ${{ matrix.java-version }}
5656
run: sbt ++${{ matrix.scala-version }} kafka-test/test ${{ matrix.sbt-opts }}

.github/workflows/integration-tests-slick.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- { java-version: 11, scala-version: 2.12, sbt-opts: '-J-XX:+UnlockExperimentalVMOptions -J-XX:+UseJVMCICompiler' }
3030
steps:
3131
- name: Checkout
32-
uses: actions/checkout@v4
32+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3333
with:
3434
fetch-depth: 0
3535
fetch-tags: true
@@ -45,16 +45,16 @@ jobs:
4545
cp container-license-acceptance.txt slick-int-test/src/test/resources/container-license-acceptance.txt
4646
4747
- name: Setup JDK ${{ matrix.java-version }}
48-
uses: actions/setup-java@v4
48+
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
4949
with:
5050
java-version: ${{ matrix.java-version }}
5151
distribution: temurin
5252

5353
- name: Install sbt
54-
uses: sbt/setup-sbt@v1
54+
uses: sbt/setup-sbt@6c68d2fe8dfbc0a0534d70101baa2e0420e1a506 # v1.1.9
5555

5656
- name: Cache Coursier cache
57-
uses: coursier/cache-action@v6
57+
uses: coursier/cache-action@4e2615869d13561d626ed48655e1a39e5b192b3c # v6.4.7
5858

5959
- name: Run all integration tests with Scala ${{ matrix.scala-version }} and Java ${{ matrix.java-version }}
6060
run: sbt ++${{ matrix.scala-version }} slick-int-test/test ${{ matrix.sbt-opts }}

.github/workflows/link-validator.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
if: github.repository == 'apache/pekko-projection'
2323
steps:
2424
- name: Checkout
25-
uses: actions/checkout@v4
25+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2626

2727
- name: Checkout GitHub merge
2828
if: github.event.pull_request
@@ -31,19 +31,19 @@ jobs:
3131
git checkout scratch
3232
3333
- name: Setup Java 8
34-
uses: actions/setup-java@v4
34+
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
3535
with:
3636
distribution: temurin
3737
java-version: 8
3838

3939
- name: Install sbt
40-
uses: sbt/setup-sbt@v1
40+
uses: sbt/setup-sbt@6c68d2fe8dfbc0a0534d70101baa2e0420e1a506 # v1.1.9
4141

4242
- name: Cache Coursier cache
43-
uses: coursier/cache-action@v6
43+
uses: coursier/cache-action@4e2615869d13561d626ed48655e1a39e5b192b3c # v6.4.7
4444

4545
- name: Setup Coursier
46-
uses: coursier/setup-action@v1
46+
uses: coursier/setup-action@039f736548afa5411c1382f40a5bd9c2d30e0383 # v1.3.9
4747

4848
# assign an arbitrary version number so that scripts/link-validator.conf has a predictable set of links to work with
4949
- name: Create the Pekko site

.github/workflows/nightly-pekko-1.0-tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ name: Nightly Integration Tests for JDBC (Pekko 1.0.x)
1111
on:
1212
schedule:
1313
- cron: '0 1 * * *'
14-
workflow_dispatch:
14+
workflow_dispatch:
1515

1616
jobs:
1717
test:
@@ -26,7 +26,7 @@ jobs:
2626
- { java-version: 8, scala-version: 3.3, sbt-opts: '' }
2727
steps:
2828
- name: Checkout
29-
uses: actions/checkout@v4
29+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3030
with:
3131
fetch-depth: 0
3232
fetch-tags: true
@@ -42,16 +42,16 @@ jobs:
4242
cp container-license-acceptance.txt jdbc-int-test/src/test/resources/container-license-acceptance.txt
4343
4444
- name: Setup JDK ${{ matrix.java-version }}
45-
uses: actions/setup-java@v4
45+
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
4646
with:
4747
java-version: ${{ matrix.java-version }}
4848
distribution: temurin
4949

5050
- name: Install sbt
51-
uses: sbt/setup-sbt@v1
51+
uses: sbt/setup-sbt@6c68d2fe8dfbc0a0534d70101baa2e0420e1a506 # v1.1.9
5252

5353
- name: Cache Coursier cache
54-
uses: coursier/cache-action@v6
54+
uses: coursier/cache-action@4e2615869d13561d626ed48655e1a39e5b192b3c # v6.4.7
5555

5656
- name: Run all integration tests with Scala ${{ matrix.scala-version }} and Java ${{ matrix.java-version }}
5757
run: |

.github/workflows/publish-1.0-docs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,23 @@ jobs:
1818
if: github.repository == 'apache/pekko-projection'
1919
steps:
2020
- name: Checkout
21-
uses: actions/checkout@v4
21+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2222
with:
2323
fetch-depth: 0
2424
fetch-tags: true
2525
ref: 1.0.x
2626

2727
- name: Set up JDK 8
28-
uses: actions/setup-java@v4
28+
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
2929
with:
3030
distribution: temurin
3131
java-version: 8
3232

3333
- name: Install sbt
34-
uses: sbt/setup-sbt@v1
34+
uses: sbt/setup-sbt@6c68d2fe8dfbc0a0534d70101baa2e0420e1a506 # v1.1.9
3535

3636
- name: Cache Coursier cache
37-
uses: coursier/cache-action@v6
37+
uses: coursier/cache-action@4e2615869d13561d626ed48655e1a39e5b192b3c # v6.4.7
3838

3939
- name: Build Documentation
4040
run: |-

.github/workflows/publish-1.0-nightly.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,21 +32,21 @@ jobs:
3232
JAVA_OPTS: -Xms2G -Xmx2G -Xss2M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8
3333
steps:
3434
- name: Checkout
35-
uses: actions/checkout@v4
35+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3636
with:
3737
# we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves
3838
fetch-depth: 0
3939
fetch-tags: true
4040
ref: 1.0.x
4141

4242
- name: Setup Java 8
43-
uses: actions/setup-java@v4
43+
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
4444
with:
4545
distribution: temurin
4646
java-version: 8
4747

4848
- name: Install sbt
49-
uses: sbt/setup-sbt@v1
49+
uses: sbt/setup-sbt@6c68d2fe8dfbc0a0534d70101baa2e0420e1a506 # v1.1.9
5050

5151
- name: Publish to Apache Maven repo
5252
env:

.github/workflows/publish-1.1-docs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,22 @@ jobs:
1818
if: github.repository == 'apache/pekko-projection'
1919
steps:
2020
- name: Checkout
21-
uses: actions/checkout@v4
21+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2222
with:
2323
fetch-depth: 0
2424
fetch-tags: true
2525

2626
- name: Set up JDK 8
27-
uses: actions/setup-java@v4
27+
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
2828
with:
2929
distribution: temurin
3030
java-version: 8
3131

3232
- name: Install sbt
33-
uses: sbt/setup-sbt@v1
33+
uses: sbt/setup-sbt@6c68d2fe8dfbc0a0534d70101baa2e0420e1a506 # v1.1.9
3434

3535
- name: Cache Coursier cache
36-
uses: coursier/cache-action@v6
36+
uses: coursier/cache-action@4e2615869d13561d626ed48655e1a39e5b192b3c # v6.4.7
3737

3838
- name: Build Documentation
3939
run: |-

0 commit comments

Comments
 (0)