From e790ab465db5737d61dfe93c8e48d6de3affebc0 Mon Sep 17 00:00:00 2001 From: "o.nihilist" <107046146+onihilist@users.noreply.github.com> Date: Fri, 12 Jul 2024 09:45:49 +0200 Subject: [PATCH] Update CI --- .github/workflows/rust.yml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 7710ff4..0bfc55b 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -2,9 +2,9 @@ name: Rust on: push: - branches: [ "main" ] + branches: [ main ] pull_request: - branches: [ "main" ] + branches: [ main ] env: CARGO_TERM_COLOR: always @@ -12,13 +12,18 @@ env: jobs: build: - runs-on: windows-10-x64 + runs-on: ubuntu-latest + strategy: + matrix: + toolchain: + - stable + - beta + - nightly steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 + - run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }} - name: Build run: cargo build --verbose - name: Run tests run: cargo test --verbose - - uses: actions/upload-artifact@v4.3.3 -