Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
ci: update github-actions
* actions/checkout 2 -> 3
* actions/download-artifact 2 -> 3
* actions/upload-artifact 2 -> 3
* imjonbo/issue-bot 2 -> 3
  • Loading branch information
newAM committed May 3, 2022
1 parent 6c28c81 commit f8c6633
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Expand Up @@ -22,7 +22,7 @@ jobs:
- rust: nightly
experimental: true
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/clippy.yml
Expand Up @@ -8,11 +8,11 @@ jobs:
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
if: github.event_name == 'pull_request_target'
with:
ref: refs/pull/${{ github.event.number }}/head
- uses: actions/checkout@v2
- uses: actions/checkout@v3
if: github.event_name != 'pull_request_target'
- uses: actions-rs/toolchain@v1
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/cron.yml
Expand Up @@ -9,15 +9,15 @@ jobs:
ci-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Run tests
run: cargo test --all --exclude cortex-m-rt --exclude testsuite
- uses: imjohnbo/issue-bot@v2
- uses: imjohnbo/issue-bot@v3
if: failure()
with:
title: CI Failure
Expand All @@ -36,7 +36,7 @@ jobs:
run:
working-directory: cortex-m-rt
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
Expand All @@ -62,7 +62,7 @@ jobs:
run: TARGET=thumbv8m.main-none-eabi TRAVIS_RUST_VERSION=stable bash ci/script.sh
- name: Run CI script for thumbv8m.main-none-eabihf under stable
run: TARGET=thumbv8m.main-none-eabihf TRAVIS_RUST_VERSION=stable bash ci/script.sh
- uses: imjohnbo/issue-bot@v2
- uses: imjohnbo/issue-bot@v3
if: failure()
with:
title: CI Failure
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/on-target.yml
Expand Up @@ -12,7 +12,7 @@ jobs:
hil-qemu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
Expand All @@ -37,7 +37,7 @@ jobs:
hil-compile-rtt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
Expand All @@ -53,7 +53,7 @@ jobs:
RUSTFLAGS: -C link-arg=-Tlink.x -D warnings
run: cargo build -p testsuite --target thumbv6m-none-eabi --features testsuite/rtt
- name: Upload testsuite binaries
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: testsuite-bin
if-no-files-found: error
Expand All @@ -65,12 +65,12 @@ jobs:
needs:
- hil-compile-rtt
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Display probe-run version
run: probe-run --version
- name: List probes
run: probe-run --list-probes
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3
with:
name: testsuite-bin
path: testsuite-bin
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rt-ci.yml
Expand Up @@ -21,7 +21,7 @@ jobs:
run:
working-directory: cortex-m-rt
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
run:
working-directory: cortex-m-rt
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rustfmt.yml
Expand Up @@ -10,7 +10,7 @@ jobs:
name: rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
Expand Down

0 comments on commit f8c6633

Please sign in to comment.