Skip to content

Commit

Permalink
Add workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
n3vu0r committed Mar 24, 2024
1 parent dd877d0 commit a1eae3a
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,20 @@ jobs:
run: cargo doc
- name: fmt
run: cargo fmt --check
no-std:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: msrv
run: |
msrv=$(cargo metadata --no-deps --format-version 1 |
jq --raw-output '.packages[] | select(.name=="miniball") | .rust_version')
echo "MSRV=$msrv" >> $GITHUB_ENV
- name: toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ env.MSRV }}
targets: thumbv6m-none-eabi
- name: check
run: cargo check --no-default-features

0 comments on commit a1eae3a

Please sign in to comment.