Merge pull request #8 from ewpratten/ewpratten/ci_improvements
Make some improvements to the CI process
This commit is contained in:
commit
2adcf0dcd2
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
@ -18,12 +18,15 @@ jobs:
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
- uses: actions-rs/cargo@v1
|
||||
|
||||
- name: Compile
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: build
|
||||
args: --release
|
||||
|
||||
- uses: actions-rs/cargo@v1
|
||||
- name: Run Tests
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: test
|
||||
args: --release
|
19
.github/workflows/clippy.yml
vendored
Normal file
19
.github/workflows/clippy.yml
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
name: Clippy check
|
||||
|
||||
on:
|
||||
push:
|
||||
|
||||
permissions:
|
||||
checks: write
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
clippy_check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- run: rustup component add clippy
|
||||
- uses: actions-rs/clippy-check@v1
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
args: --all-features
|
Loading…
x
Reference in New Issue
Block a user