Skip to content

update dependencies and use github workflow #1

update dependencies and use github workflow

update dependencies and use github workflow #1

Workflow file for this run

name: Test
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