Fix CI hopefully
This commit is contained in:
parent
a3fb70c55c
commit
437d47db28
27
.github/workflows/rust.yml
vendored
27
.github/workflows/rust.yml
vendored
@ -1,25 +1,16 @@
|
|||||||
name: Rust
|
name: Rust
|
||||||
|
|
||||||
on:
|
on [push]
|
||||||
push:
|
|
||||||
branches: [ "main" ]
|
|
||||||
pull_request:
|
|
||||||
branches: [ "main" ]
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
CARGO_TERM_COLOR: always
|
CARGO_TERM_COLOR: always
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
check:
|
||||||
|
name: Check
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checout@v4
|
||||||
- name: Build
|
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||||
run: cargo build --verbose
|
- run: cargo check
|
||||||
- name: Run tests
|
|
||||||
run: cargo test --verbose
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user