Skip to content
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

Re-add formatting CI check which was accidentally removed #60

Merged
merged 3 commits into from
Apr 26, 2020
Merged
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
16 changes: 10 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,17 @@ jobs:
- name: Make mask available globally (windows)
run: copy ./target/debug/mask.exe ~/.cargo/bin/
if: matrix.platform == 'windows-latest'
- name: Make mask available globally (linux)
- name: Make mask available globally (linux / mac)
run: cp ./target/debug/mask ~/.cargo/bin
if: matrix.platform == 'ubuntu-latest'
- name: Make mask available globally (mac)
run: cp ./target/debug/mask ~/.cargo/bin
if: matrix.platform == 'macos-latest'
if: matrix.platform != 'windows-latest'
- name: Run tests
run: cargo test --frozen


format:
name: Format
runs-on: ubuntu-latest
steps:
- name: Checkout master
uses: actions/checkout@master
- name: Verify formatting is correct
run: cargo fmt --all -- --check