mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
ci: move gh workflow to correct folder (#5)
* ci: move gh workflow to correct folder * ci: name workflow * ci: use nextest
This commit is contained in:
10
.github/ci.yml → .github/workflows/ci.yml
vendored
10
.github/ci.yml → .github/workflows/ci.yml
vendored
@ -8,6 +8,7 @@ env:
|
|||||||
NEXTEST_EXPERIMENTAL_FILTER_EXPR: 1
|
NEXTEST_EXPERIMENTAL_FILTER_EXPR: 1
|
||||||
CARGO_TERM_COLOR: always
|
CARGO_TERM_COLOR: always
|
||||||
|
|
||||||
|
name: ci
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -23,8 +24,13 @@ jobs:
|
|||||||
- uses: Swatinem/rust-cache@v1
|
- uses: Swatinem/rust-cache@v1
|
||||||
with:
|
with:
|
||||||
cache-on-failure: true
|
cache-on-failure: true
|
||||||
- name: cargo test
|
- name: Install latest nextest release
|
||||||
run: cargo test --locked --workspace --all-features
|
uses: taiki-e/install-action@nextest
|
||||||
|
- name: Test with latest nextest release
|
||||||
|
uses: actions-rs/cargo@v1
|
||||||
|
with:
|
||||||
|
command: nextest
|
||||||
|
args: run --locked --workspace --all-features
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
Reference in New Issue
Block a user