Skip to content

Update dependencies #12

Update dependencies

Update dependencies #12

Workflow file for this run

name: CI
on:
push:
branches:
- main
- feature/ci
tags:
- v[0-9]+.*
- testing-ci.*
pull_request:
jobs:
lint:
name: Clippy
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install rust
run: |
rustup update stable && rustup default stable
rustup component add clippy
- name: Run clippy
run: cargo clippy --all --all-features -- -Dwarnings
test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
toolchain: [stable, nightly]
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install rust
run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- name: Build
run: cargo build --all
- name: Test
run: cargo test --all