Skip to content

Commit fa65b37

Browse files
committed
Update GitHub action dependencies and use version pinning
1 parent b00f3f9 commit fa65b37

File tree

4 files changed

+17
-17
lines changed

4 files changed

+17
-17
lines changed

.github/actions/common-setup/action.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@ runs:
44
using: "composite"
55
steps:
66
- name: Set up JDK 17
7-
uses: actions/setup-java@v3
7+
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 #v4.7.0
88
with:
99
java-version: '17'
10-
distribution: 'adopt'
10+
distribution: 'temurin'
1111

1212
- name: Grant execute permission for gradlew
1313
shell: bash
1414
run: chmod +x gradlew
1515

1616
- name: Cache Gradle Wrapper
17-
uses: actions/cache@v3
17+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 #v4.2.3
1818
with:
1919
path: |
2020
~/.gradle/wrapper
@@ -24,7 +24,7 @@ runs:
2424
${{ runner.os }}-gradle-wrapper-
2525
2626
- name: Cache Gradle Dependencies
27-
uses: actions/cache@v3
27+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 #v4.2.3
2828
with:
2929
path: |
3030
~/.gradle/caches
@@ -33,7 +33,7 @@ runs:
3333
${{ runner.os }}-gradle-caches-
3434
3535
- name: Cache Android Global Build-Cache
36-
uses: actions/cache@v3
36+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 #v4.2.3
3737
with:
3838
path: |
3939
~/.android/build-cache

.github/workflows/code-checks.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ubuntu-22.04
1919
steps:
2020
- name: Checkout source code
21-
uses: actions/checkout@v4
21+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
2222
- name: Setup project and build environment
2323
uses: ./.github/actions/common-setup
2424

@@ -36,7 +36,7 @@ jobs:
3636
runs-on: ubuntu-22.04
3737
steps:
3838
- name: Checkout source code
39-
uses: actions/checkout@v4
39+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
4040
- name: Setup project and build environment
4141
uses: ./.github/actions/common-setup
4242

@@ -53,7 +53,7 @@ jobs:
5353
runs-on: ubuntu-22.04
5454
steps:
5555
- name: Checkout source code
56-
uses: actions/checkout@v4
56+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
5757
- name: Setup project and build environment
5858
uses: ./.github/actions/common-setup
5959

.github/workflows/gradle-wrapper-validation.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ jobs:
1313
name: "Validation"
1414
runs-on: ubuntu-22.04
1515
steps:
16-
- uses: actions/checkout@v4
17-
- uses: gradle/wrapper-validation-action@v1
16+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
17+
- uses: gradle/actions/wrapper-validation@06832c7b30a0129d7fb559bcc6e43d26f6374244 #v4.3.1

.github/workflows/release-tag.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
echo "STORE_PATH=$(echo $TMP_KEYSTORE_FILE_PATH)" >> $GITHUB_ENV
2525
2626
- name: Checkout source code
27-
uses: actions/checkout@v4
27+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
2828
with:
2929
fetch-depth: 0
3030

@@ -33,7 +33,7 @@ jobs:
3333

3434
- name: Get the version
3535
id: tagger
36-
uses: jimschubert/query-tag-action@v2
36+
uses: jimschubert/query-tag-action@0b288a5fff630fea2e96d61b99047ed823ca19dc #v2.2
3737
with:
3838
skip-unshallow: 'true'
3939
abbrev: false
@@ -59,7 +59,7 @@ jobs:
5959

6060
- name: Create pre-release
6161
if: contains(steps.tagger.outputs.tag, '-beta')
62-
uses: softprops/action-gh-release@v1
62+
uses: softprops/action-gh-release@c95fe1489396fe8a9eb87c0abf8aa5b2ef267fda #v2.2.1
6363
with:
6464
prerelease: true
6565
tag_name: ${{ steps.tagger.outputs.tag }}
@@ -71,7 +71,7 @@ jobs:
7171

7272
- name: Create release
7373
if: "!contains(steps.tagger.outputs.tag, '-beta')"
74-
uses: softprops/action-gh-release@v1
74+
uses: softprops/action-gh-release@c95fe1489396fe8a9eb87c0abf8aa5b2ef267fda #v2.2.1
7575
with:
7676
prerelease: false
7777
tag_name: ${{ steps.tagger.outputs.tag }}
@@ -107,7 +107,7 @@ jobs:
107107
echo "SUPPLY_JSON_KEY=$(echo $TMP_SERVICEKEY_FILE_PATH)" >> $GITHUB_ENV
108108
109109
- name: Checkout source code
110-
uses: actions/checkout@v4
110+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
111111
with:
112112
fetch-depth: 0
113113

@@ -116,14 +116,14 @@ jobs:
116116

117117
- name: Get the version
118118
id: tagger
119-
uses: jimschubert/query-tag-action@v2
119+
uses: jimschubert/query-tag-action@0b288a5fff630fea2e96d61b99047ed823ca19dc #v2.2
120120
with:
121121
skip-unshallow: 'true'
122122
abbrev: false
123123
commit-ish: HEAD
124124

125125
- name: Set up ruby env
126-
uses: ruby/setup-ruby@v1
126+
uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 #v1.229.0
127127
with:
128128
ruby-version: 3.3.6
129129
bundler-cache: true

0 commit comments

Comments
 (0)