get rid of toolchain action #60
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: Checks | |
on: [push, pull_request] | |
jobs: | |
license: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Check license headers | |
run: ./.github/checks/copyright.sh | |
sanity: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Safety checks | |
run: ./.github/checks/safety.sh -a | |
unused-deps: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install deps | |
run: sudo snap install remarshal | |
- name: Install deps | |
run: sudo snap install --classic ripgrep | |
- uses: actions/checkout@v1 | |
- name: Check for unused dependencies | |
run: ./.github/checks/deps.sh . | |
format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Check Formating | |
run: cargo fmt --all -- --check | |
clippy-check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Install deps | |
run: sudo apt-get -qy update && sudo apt-get install -y libssl-dev libssl1.1 | |
- uses: actions-rs/clippy-check@v1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
args: --all |