Asn1 parsing library #108
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check | |
env: | |
APP_HOST: ${{ secrets.APP_HOST }} | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
check: | |
name: Check code | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: 'Add nightly channel' | |
run: 'rustup toolchain install nightly' | |
- name: 'Add nightly fmt' | |
run: 'rustup component add rustfmt --toolchain nightly-x86_64-unknown-linux-gnu' | |
- name: 'Fmt' | |
run: 'cargo +nightly fmt --all -- --check' | |
- name: 'Clippy' | |
run: 'cargo clippy --all-targets -- -D warnings' | |
- name: 'Tests' | |
run: 'cargo test' |