Skip to content

try to run tests and linting in CI #1

try to run tests and linting in CI

try to run tests and linting in CI #1

Workflow file for this run

name: Tests
on: [push]
concurrency:
group: tests-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

Check failure on line 14 in .github/workflows/lint.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/lint.yaml

Invalid workflow file

You have an error in your yaml syntax on line 14
- name: Set up Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain-version: 'nightly'
components: rustfmt
- name: Check code format
run: cargo fmt -- --check
- name: Check clippy
run: cargo clippy -- -D warnings