discord-egress/.gitea/workflows/clippy.yaml

22 lines
484 B
YAML
Raw Normal View History

2024-07-29 14:07:26 +00:00
name: Test Rust project
on: [push]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
rust: [stable, nightly]
steps:
2024-07-29 14:31:33 +00:00
- uses: https://git.oliveratkinson.net/Oliver/setup-rust-action@master
2024-07-29 14:07:26 +00:00
with:
rust-version: ${{ matrix.rust }}
- uses: actions/checkout@master
2024-07-29 14:34:56 +00:00
- name: Env display
run: echo $PATH
2024-07-29 14:35:49 +00:00
- name: which
2024-07-29 14:34:56 +00:00
run: which cargo
2024-07-29 14:07:26 +00:00
- name: Run tests
run: cargo test --verbose