Skip to content

ci: update github-actions #435

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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