Skip to content

Commit 7b7f540

Browse files
committed
chore: pin action versions as well as cross version
1 parent 130ead6 commit 7b7f540

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/release.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
runs-on: ${{ matrix.os }}
3737
steps:
3838
- name: Checkout
39-
uses: actions/checkout@v6
39+
uses: actions/checkout@v6.0.2
4040

4141
- name: Install Rust
4242
uses: dtolnay/rust-toolchain@stable
@@ -47,7 +47,7 @@ jobs:
4747
# it for other architectures and OSes than the build runner's.
4848
- name: Install cross
4949
if: matrix.os == 'ubuntu-latest' && matrix.target != 'x86_64-unknown-linux-gnu'
50-
run: cargo install cross --git https://github.com/cross-rs/cross
50+
run: cargo install cross --version 0.2.5
5151

5252
# Build either with cross or cargo, depending on the target.
5353
- name: Build binary
@@ -78,7 +78,7 @@ jobs:
7878
shell: bash
7979

8080
- name: Upload artifact
81-
uses: actions/upload-artifact@v7
81+
uses: actions/upload-artifact@v7.0.1
8282
with:
8383
name: ${{ matrix.name }}
8484
path: ${{ matrix.name }}.zip
@@ -115,7 +115,7 @@ jobs:
115115
steps:
116116
- name: Checkout
117117
uses: actions/checkout@v6
118-
118+
119119
- name: Download artifacts
120120
uses: actions/download-artifact@v8
121121
with:
@@ -129,13 +129,13 @@ jobs:
129129
--draft \
130130
--title "GDScript formatter ${{ github.ref_name }}" \
131131
--notes "A fast code formatter for GDScript in Godot 4.
132-
132+
133133
You can learn how to install, use, configure, and integrate the formatter into your workflow on this page:
134-
134+
135135
https://www.gdquest.com/library/gdscript_formatter/"
136136
137137
gh release upload "${{ github.ref_name }}" artifacts/*.zip
138138
gh release edit "${{ github.ref_name }}" --draft=false
139139
env:
140140
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
141-
shell: bash
141+
shell: bash

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: checkout
18-
uses: actions/checkout@v6
18+
uses: actions/checkout@v6.0.2
1919

2020
- name: Install Rust
2121
uses: dtolnay/rust-toolchain@stable
22-
22+
2323
- name: Cache Dependencies
24-
uses: actions/cache@v5
24+
uses: actions/cache@v5.0.5
2525
with:
2626
path: |
2727
~/.cargo/registry

0 commit comments

Comments
 (0)