Skip to content

CI - using required rust version #4

CI - using required rust version

CI - using required rust version #4

Workflow file for this run

name: Rust CI
on:
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Rust specific version
uses: actions-rs/toolchain@v1
with:
toolchain: 1.70.0
profile: minimal
components: clippy, rustfmt
override: true
- name: Lint with Clippy
uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: -- -D warnings
- name: Check formatting
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- name: Run tests
uses: actions-rs/cargo@v1
with:
command: test
args: --features integration_tests