Skip to content

Migrate to probe-rs now that probe-run is deprecated (#246) #530

Migrate to probe-rs now that probe-run is deprecated (#246)

Migrate to probe-rs now that probe-run is deprecated (#246) #530

Workflow file for this run

name: Continuous Integration
on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: 45 3 * * 2 # every Tuesday at 3:45 UTC
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
changelog:
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
permissions: {}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- run: ./scripts/ci-changelog.sh
ubuntu:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
if: github.event_name != 'schedule'
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
.root/
target/
key: >-
${{ hashFiles('rust-toolchain.toml') }}-${{ hashFiles(
'**/Cargo.lock', 'scripts/wrapper.sh'
) }}
restore-keys: ${{ hashFiles('rust-toolchain.toml') }}
- run: ./scripts/setup.sh
- run: ./scripts/ci.sh