rust/.forgejo/workflows/test.yml
Paul Campbell cb915104cb
All checks were successful
/ test (map[name:nightly]) (push) Successful in 6s
/ test (map[name:stable]) (push) Successful in 6s
/ test (map[name:v1.74.1]) (push) Successful in 5s
build: bump rust action to 2.6.0-rc3
2025-01-11 20:19:14 +00: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.74.1
steps:
- uses: actions/checkout@v4
- name: Machete
uses: https://git.kemitix.net/kemitix/rust@v2.6.0-rc3
with:
args: cargo machete
- name: Format
uses: https://git.kemitix.net/kemitix/rust@v2.6.0-rc3
with:
args: ${{ matrix.toolchain.name }} cargo fmt --check
- name: Clippy
uses: https://git.kemitix.net/kemitix/rust@v2.6.0-rc3
with:
args: ${{ matrix.toolchain.name }} cargo clippy
- name: Test
uses: https://git.kemitix.net/kemitix/rust@v2.6.0-rc3
with:
args: ${{ matrix.toolchain.name }} cargo test
- name: Build
uses: https://git.kemitix.net/kemitix/rust@v2.6.0-rc3
with:
args: ${{ matrix.toolchain.name }} cargo build
- name: Run
uses: https://git.kemitix.net/kemitix/rust@v2.6.0-rc3
with:
args: ${{ matrix.toolchain.name }} cargo run