discord-egress/.gitea/workflows/clippy.yaml
Workflow config file is invalid. Please check your config file: yaml: unmarshal errors: line 18: mapping key "run" already defined at line 17 line 19: mapping key "run" already defined at line 17 line 19: mapping key "run" already defined at line 18

22 lines
490 B
YAML

name: Test Rust project
on: [push]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
rust: [stable, nightly]
steps:
- uses: https://git.oliveratkinson.net/Oliver/setup-rust-action@master
with:
rust-version: ${{ matrix.rust }}
- uses: actions/checkout@master
- name: Env display
run: echo $PATH
run: which rustup
run: which cargo
- name: Run tests
run: cargo test --verbose