Skip to content

Commit 9900c76

Browse files
authored
Fix lint warnings in release.yml (#7538)
1 parent 959b088 commit 9900c76

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ on:
1212
required: false
1313
default: true
1414

15-
permissions:
16-
contents: write
17-
1815
env:
1916
X86_64_PC_WINDOWS_MSVC_OPENSSL_LIB_DIR: C:\Program Files\OpenSSL\lib\VC\x64\MD
2017
X86_64_PC_WINDOWS_MSVC_OPENSSL_INCLUDE_DIR: C:\Program Files\OpenSSL\include
@@ -55,7 +52,7 @@ jobs:
5552
with:
5653
persist-credentials: false
5754

58-
- uses: dtolnay/rust-toolchain@stable
55+
- uses: dtolnay/rust-toolchain@efa25f7f19611383d5b0ccf2d1c8914531636bf9
5956
with:
6057
target: ${{ matrix.target }}
6158

@@ -92,7 +89,7 @@ jobs:
9289
with:
9390
persist-credentials: false
9491

95-
- uses: dtolnay/rust-toolchain@stable
92+
- uses: dtolnay/rust-toolchain@efa25f7f19611383d5b0ccf2d1c8914531636bf9
9693
with:
9794
targets: wasm32-wasip1
9895

@@ -115,8 +112,9 @@ jobs:
115112
with:
116113
package-manager-cache: false
117114

118-
- uses: mwilliamson/setup-wabt-action@v3
119-
with: { wabt-version: "1.0.30" }
115+
- uses: mwilliamson/setup-wabt-action@febe2a12b7ccb999a6e5d953a8362a3b7ffcf148 # v3.2.0
116+
with:
117+
wabt-version: "1.0.30"
120118

121119
- name: build demo
122120
run: |
@@ -137,7 +135,7 @@ jobs:
137135

138136
- name: Deploy demo to Github Pages
139137
if: ${{ github.repository == 'RustPython/RustPython' }}
140-
uses: peaceiris/actions-gh-pages@v4
138+
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0
141139
with:
142140
deploy_key: ${{ secrets.ACTIONS_DEMO_DEPLOY_KEY }}
143141
publish_dir: ./wasm/demo/dist

0 commit comments

Comments
 (0)