Skip to content

feat: test and lint workflow #1

feat: test and lint workflow

feat: test and lint workflow #1

Workflow file for this run

name: Testing and Linting
on:
push:
branches:
- main
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
test_rust:
name: Test and Lint
runs-on: ubuntu-latest
strategy:
matrix:
toolchain:
- stable
defaults:
run:
working-directory: backend
steps:
- uses: actions/checkout@v3
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- run: cargo build
- run: cargo test
- run: cargo clippy