Skip to content

update dependencies and use github workflow #3

update dependencies and use github workflow

update dependencies and use github workflow #3

Workflow file for this run

name: Test and Lint
on:
push:
branches:
- "*"
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install rust and run tests
run: |
rustup update stable --no-self-update
rustup default stable
cargo test -j`nproc`
lint:
name: Check format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install rust and check format
run: |
rustup update stable
rustup default stable
rustup component add rustfmt
cargo fmt -- --check