Skip to content

Commit

Permalink
Fix workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
n3vu0r committed Aug 16, 2023
1 parent 55d508b commit c48e6ec
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
- name: checkout
uses: actions/checkout@v3
- name: msrv
run: >
run: |
msrv=$(cargo metadata --no-deps --format-version 1 |
jq --raw-output '.packages[] | select(.name=="trackball") | .rust_version');
jq --raw-output '.packages[] | select(.name=="trackball") | .rust_version')
echo "MSRV=$msrv" >> $GITHUB_ENV
- name: toolchain
uses: dtolnay/rust-toolchain@master
Expand All @@ -24,9 +24,8 @@ jobs:
- name: test
run: cargo test
- name: clippy
run: >
cargo clippy --tests --
-D clippy::all -D clippy::pedantic -D clippy::nursery;
run: |
cargo clippy --tests -- -D clippy::all -D clippy::pedantic -D clippy::nursery
- name: doc
run: cargo doc
- name: fmt
Expand All @@ -37,9 +36,9 @@ jobs:
- name: checkout
uses: actions/checkout@v3
- name: msrv
run: >
run: |
msrv=$(cargo metadata --no-deps --format-version 1 |
jq --raw-output '.packages[] | select(.name=="trackball") | .rust_version');
jq --raw-output '.packages[] | select(.name=="trackball") | .rust_version')
echo "MSRV=$msrv" >> $GITHUB_ENV
- name: toolchain
uses: dtolnay/rust-toolchain@master
Expand All @@ -49,9 +48,8 @@ jobs:
- name: test
run: cargo test --all-features
- name: clippy
run: >
cargo clippy --tests --all-features --
-D clippy::all -D clippy::pedantic -D clippy::nursery;
run: |
cargo clippy --tests --all-features -- -D clippy::all -D clippy::pedantic -D clippy::nursery
- name: doc
env:
RUSTDOCFLAGS: --cfg docsrs
Expand Down

0 comments on commit c48e6ec

Please sign in to comment.