Skip to content

Commit c6d0720

Browse files
committed
Update action files.
Avoids node.js 16 warnings.
1 parent 68fbe8c commit c6d0720

File tree

3 files changed

+9
-14
lines changed

3 files changed

+9
-14
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Checkout
13-
uses: actions/checkout@v3
13+
uses: actions/checkout@v4
1414
with:
1515
submodules: true
1616
fetch-depth: 0
@@ -23,7 +23,7 @@ jobs:
2323
rustup component add llvm-tools
2424
cargo install cargo-binutils
2525
26-
- name: Add targets
26+
- name: Add C tools
2727
run: |
2828
sudo apt-get -y install gcc-arm-none-eabi binutils-arm-none-eabi
2929
@@ -70,7 +70,7 @@ jobs:
7070
zip -r ./neotron-sdk-${{ env.slug }}.zip ./neotron-sdk-${{ env.slug }}
7171
7272
- name: Upload Artifacts
73-
uses: actions/upload-artifact@v3
73+
uses: actions/upload-artifact@v4
7474
if: ${{success()}}
7575
with:
7676
name: Artifacts

.github/workflows/clippy.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,15 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Checkout Code
13-
uses: actions/checkout@v3
13+
uses: actions/checkout@v4
1414
with:
1515
submodules: true
1616
fetch-depth: 0
1717

1818
- name: Install Rust
19-
uses: actions-rs/toolchain@v1
20-
with:
21-
toolchain: stable
22-
components: clippy
23-
target: thumbv6m-none-eabi
19+
run: |
20+
rustup component add clippy
21+
rustup target add thumbv6m-none-eabi
2422
2523
- name: Run Clippy
2624
uses: actions-rs/clippy-check@v1

.github/workflows/format.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,13 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- name: Checkout Code
10-
uses: actions/checkout@v3
10+
uses: actions/checkout@v4
1111
with:
1212
submodules: true
1313
fetch-depth: 0
1414

1515
- name: Install Rust
16-
uses: actions-rs/toolchain@v1
17-
with:
18-
toolchain: stable
19-
components: rustfmt
16+
run: rustup component add rustfmt
2017

2118
- name: Check Format
2219
run: cargo fmt -- --check

0 commit comments

Comments
 (0)