99 name : Test
1010 runs-on : ubuntu-latest
1111 steps :
12- - uses : actions/checkout@v5
12+ - uses : actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
1313
1414 - run : git config --global --add safe.directory /__w/re-frame/re-frame
1515
1616 - name : Setup java
17- uses : actions/setup-java@v3
17+ uses : actions/setup-java@17f84c3641ba7b8f6deff6309fc4c864478f5d62 # v3
1818 with :
1919 distribution : ' temurin'
2020 java-version : ' 24'
2121
2222 - name : Install clojure tools
23- uses : DeLaGuardo/setup-clojure@12.5
23+ uses : DeLaGuardo/setup-clojure@bc7570e912b028bbcc22f457adec7fdf98e2f4ed # 12.5
2424 with :
2525 cli : ' latest'
2626 bb : ' latest'
2727
2828 - name : Maven cache
2929 id : maven-cache
30- uses : actions/cache@v4
30+ uses : actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
3131 with :
3232 path : ~/.m2/repository
3333 key : ${{ runner.os }}-maven-${{ hashFiles('**/project.clj', '.github/workflows/**') }}
3434 restore-keys : |
3535 ${{ runner.os }}-maven-
3636
3737 - name : npm cache
38- uses : actions/cache@v4
38+ uses : actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
3939 with :
4040 path : ~/.npm
4141 key : ${{ runner.os }}-npm-${{ hashFiles('project.clj') }}-${{ hashFiles('**/deps.cljs') }}
4242 restore-keys : |
4343 ${{ runner.os }}-npm-
4444
4545 - name : shadow-cljs compiler cache
46- uses : actions/cache@v4
46+ uses : actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
4747 with :
4848 path : .shadow-cljs
4949 key : ${{ runner.os }}-shadow-cljs-${{ github.sha }}
5050 restore-keys : |
5151 ${{ runner.os }}-shadow-cljs-
5252
53- - uses : browser-actions/setup-chrome@v1
53+ - uses : browser-actions/setup-chrome@c785b87e244131f27c9f19c1a33e2ead956ab7ce # v1
5454 id : setup-chrome
5555 with :
5656 chrome-version : 811961
7070 - run : bb test :chrome-path '"${{ steps.setup-chrome.outputs.chrome-path }}"'
7171
7272 - name : Slack notification
73- uses : homoluctus/slatify@v2.0.1
73+ uses : homoluctus/slatify@61c6b12d2ae226db04062ff9b43d9679e2d53236 # v2.0.1
7474 if : failure() || cancelled()
7575 with :
7676 type : ${{ job.status }}
@@ -91,29 +91,29 @@ jobs:
9191 username : ${{ github.actor }}
9292 password : ${{ secrets.GITHUB_TOKEN }}
9393 steps :
94- - uses : actions/checkout@v5
94+ - uses : actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
9595 with :
9696 fetch-depth : 0
9797
9898 - run : git config --global --add safe.directory /__w/re-frame/re-frame
9999
100100 - name : Maven cache
101101 id : maven-cache
102- uses : actions/cache@v4
102+ uses : actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
103103 with :
104104 path : ~/.m2/repository
105105 key : ${{ runner.os }}-maven-${{ hashFiles('**/project.clj', '.github/workflows/**') }}
106106 restore-keys : |
107107 ${{ runner.os }}-maven-
108108
109109 - name : Setup java
110- uses : actions/setup-java@v3
110+ uses : actions/setup-java@17f84c3641ba7b8f6deff6309fc4c864478f5d62 # v3
111111 with :
112112 distribution : ' temurin'
113113 java-version : ' 24'
114114
115115 - name : Install clojure tools
116- uses : DeLaGuardo/setup-clojure@12.5
116+ uses : DeLaGuardo/setup-clojure@bc7570e912b028bbcc22f457adec7fdf98e2f4ed # 12.5
117117 with :
118118 cli : ' latest'
119119 bb : ' latest'
@@ -134,7 +134,7 @@ jobs:
134134 # IMPORTANT: The release year is hard-coded and must be updated in this file once per year for the moment.
135135 # Unfortunately I could not find a way to inject the year using the GitHub Actions ${{ expr }} syntax.
136136 - name : Create GitHub Release
137- uses : actions/create-release@v1
137+ uses : actions/create-release@0cb9c9b65d5d1901c1f53e5e66eaf4afd303e70e # v1
138138 env :
139139 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
140140 with :
@@ -146,7 +146,7 @@ jobs:
146146 prerelease : false
147147
148148 - name : Slack notification
149- uses : homoluctus/slatify@v2.0.1
149+ uses : homoluctus/slatify@61c6b12d2ae226db04062ff9b43d9679e2d53236 # v2.0.1
150150 if : always()
151151 with :
152152 type : ${{ job.status }}
0 commit comments