Skip to content

Commit

Permalink
Replace buildkite with GHA for Rust tests?
Browse files Browse the repository at this point in the history
  • Loading branch information
nagisa committed Sep 11, 2023
1 parent 8ecc5af commit 06a269c
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 2 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
push:
branches: [master]
pull_request:
types:

jobs:
cargo_nextest:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macOS-m1]
timeout-minutes: 30

steps:
- uses: actions/checkout@v2
- uses: baptiste0928/cargo-install@21a18ba3bf4a184d1804e8b759930d3471b1c941
with:
crate: cargo-nextest
- uses: baptiste0928/cargo-install@21a18ba3bf4a184d1804e8b759930d3471b1c941
with:
crate: cargo-deny
- run: cargo nextest run --locked --workspace -p '*' --cargo-profile quick-release --no-fail-fast
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
# Individual crates in the workspace may support a lower version, as indicated by `rust-version` field in each crate's `Cargo.toml`.
# The version specified below, should be at least as high as the maximum `rust-version` within the workspace.
channel = "1.72.0"
components = [ "rustfmt" ]
components = [ "rustfmt", "clippy" ]
targets = [ "wasm32-unknown-unknown" ]

0 comments on commit 06a269c

Please sign in to comment.