setup-rust/.forgejo/workflows/test.yml
silvana e66c290a99
Some checks failed
/ test (map[name:nightly]) (push) Failing after 4m52s
/ test (map[name:stable]) (push) Failing after 26s
/ test (map[name:v1.81.0]) (push) Failing after 27s
update workflow.
2024-11-29 07:19:10 +01:00

46 lines
1.1 KiB
YAML

on:
push:
branches:
- next
jobs:
test:
runs-on: docker
strategy:
matrix:
toolchain:
- name: stable
- name: nightly
- name: v1.81.0
steps:
- uses: actions/checkout@v4
- name: Machete
uses: https://git.ragarock.moe/silvana/setup-rust@v2.4.4
with:
args: cargo machete
- name: Format
uses: https://git.ragarock.moe/silvana/setup-rust@v2.4.4
with:
args: ${{ matrix.toolchain.name }} cargo fmt --check
- name: Clippy
uses: https://git.ragarock.moe/silvana/setup-rust@v2.4.4
with:
args: ${{ matrix.toolchain.name }} cargo clippy
- name: Test
uses: https://git.ragarock.moe/silvana/setup-rust@v2.4.4
with:
args: ${{ matrix.toolchain.name }} cargo test
- name: Build
uses: https://git.ragarock.moe/silvana/setup-rust@v2.4.4
with:
args: ${{ matrix.toolchain.name }} cargo build
- name: Run
uses: https://git.ragarock.moe/silvana/setup-rust@v2.4.4
with:
args: ${{ matrix.toolchain.name }} cargo run