CI: rename rust.yml to check-and-test.yml

This commit is contained in:
Will Greenberg
2024-05-22 10:41:17 -07:00
parent e8231ad142
commit 67cb1bfb98

20
.github/workflows/check-and-test.yml vendored Normal file
View File

@@ -0,0 +1,20 @@
name: Check and Test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
check_and_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check
run: cargo check --verbose
- name: Run tests
run: cargo test --verbose