1
0
mirror of https://github.com/BitskiCo/jwk-rs synced 2024-11-22 11:59:23 +00:00
jwk-rs/.github/workflows/ci.yml

48 lines
960 B
YAML
Raw Normal View History

2020-07-13 23:16:15 +00:00
on: push
name: CI
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: true
components: rustfmt, clippy
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- uses: actions-rs/cargo@v1
with:
command: clippy
args: --all-features --profile test -- -D warnings
- uses: actions-rs/cargo@v1
with:
command: test
args: --all-features
build-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: true
- uses: actions-rs/cargo@v1
with:
command: build
args: --all-features --release