Merge pull request #21 from nerwalt/nrf9120 #45
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [ master, staging, trying ] | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
profile: minimal | |
components: rustfmt | |
- name: Build Crates | |
run: cargo test | |
env: | |
RUSTFLAGS: --deny warnings | |
- name: Dry Run Publish | |
run: cargo xtask publish --dry-run | |
ci: | |
if: ${{ success() }} | |
# all new jobs must be added to this list | |
needs: [build] | |
runs-on: ubuntu-latest | |
steps: | |
- name: CI succeeded | |
run: exit 0 |