rust/.forgejo/workflows/push-next.yml
Paul Campbell 7ab30ce7c3
All checks were successful
/ test (map[name:1.74.1]) (push) Successful in 4s
/ test (map[name:nightly]) (push) Successful in 5s
/ test (map[name:stable]) (push) Successful in 4s
feat: add bash to image
2025-01-14 18:08:14 +00:00

47 lines
1 KiB
YAML

on:
push:
branches:
- next
jobs:
test:
runs-on: docker
container:
image:
git.kemitix.net/kemitix/rust:v3.1.0
strategy:
matrix:
toolchain:
- name: stable
- name: nightly
- name: 1.74.1
steps:
- uses: actions/checkout@v4
- name: Ignored Files
run: check-for-ignored
# run: |
# IGNORED=$(git ls-files --cached -i --exclude-standard)
# if [ -n "$IGNORED" ]
# then
# echo "Ignored files present:\n$IGNORED"
# exit 1
# fi
- name: Machete
run: cargo machete
- name: Format
run: cargo +${{ matrix.toolchain.name }} fmt --check
- name: Clippy
run: cargo +${{ matrix.toolchain.name }} clippy
- name: Test
run: cargo +${{ matrix.toolchain.name }} test
- name: Build
run: cargo +${{ matrix.toolchain.name }} build
- name: Run
run: cargo +${{ matrix.toolchain.name }} run