feat: drop entrypoint in favour of using 'run' over 'uses'

This commit is contained in:
Paul Campbell 2025-01-12 11:18:19 +00:00 committed by Paul Campbell
parent cb915104cb
commit da790827d4
3 changed files with 14 additions and 70 deletions

View file

@ -5,42 +5,33 @@ on:
jobs:
test:
runs-on: docker
container:
image:
git.kemitix.net/kemitix/rust:v3.0.0-rc2
strategy:
matrix:
toolchain:
- name: stable
- name: nightly
- name: v1.74.1
- name: 1.74.1
steps:
- uses: actions/checkout@v4
- name: Machete
uses: https://git.kemitix.net/kemitix/rust@v2.6.0-rc3
with:
args: cargo machete
run: cargo machete
- name: Format
uses: https://git.kemitix.net/kemitix/rust@v2.6.0-rc3
with:
args: ${{ matrix.toolchain.name }} cargo fmt --check
run: cargo +${{ matrix.toolchain.name }} fmt --check
- name: Clippy
uses: https://git.kemitix.net/kemitix/rust@v2.6.0-rc3
with:
args: ${{ matrix.toolchain.name }} cargo clippy
run: cargo +${{ matrix.toolchain.name }} clippy
- name: Test
uses: https://git.kemitix.net/kemitix/rust@v2.6.0-rc3
with:
args: ${{ matrix.toolchain.name }} cargo test
run: cargo +${{ matrix.toolchain.name }} test
- name: Build
uses: https://git.kemitix.net/kemitix/rust@v2.6.0-rc3
with:
args: ${{ matrix.toolchain.name }} cargo build
run: cargo +${{ matrix.toolchain.name }} build
- name: Run
uses: https://git.kemitix.net/kemitix/rust@v2.6.0-rc3
with:
args: ${{ matrix.toolchain.name }} cargo run
run: cargo +${{ matrix.toolchain.name }} run