test: use correct matrix syntax
All checks were successful
/ test (map[name:nightly]) (push) Successful in 2m16s
/ test (map[name:stable]) (push) Successful in 1m51s

This commit is contained in:
Paul Campbell 2024-09-16 17:25:07 +01:00
parent d9532aa17a
commit b352ee0e67
2 changed files with 10 additions and 4 deletions

View file

@ -5,20 +5,26 @@ on:
jobs: jobs:
test: test:
runs-on: docker runs-on: docker
strategy:
matrix:
toolchain:
- name: stable
- name: nightly
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Test - name: Test
uses: https://git.kemitix.net/kemitix/rust@next uses: https://git.kemitix.net/kemitix/rust@next
with: with:
args: cargo test args: ${{ matrix.toolchain.name }} cargo test
- name: Build - name: Build
uses: https://git.kemitix.net/kemitix/rust@next uses: https://git.kemitix.net/kemitix/rust@next
with: with:
args: cargo build args: ${{ matrix.toolchain.name }} cargo build
- name: Run - name: Run
uses: https://git.kemitix.net/kemitix/rust@next uses: https://git.kemitix.net/kemitix/rust@next
with: with:
args: cargo run args: ${{ matrix.toolchain.name }} cargo run

View file

@ -9,7 +9,7 @@ FROM docker.io/rust:1.81.0-slim-bookworm
# git - git # git - git
RUN apt-get update \ RUN apt-get update \
&& \ && \
apt-get satisfy -y "nodejs (>=18.19.0) curl (>=7.88.1) pkg-config (>=1.8.1) libssl-dev (>=3.0.14) git (>=2.39.2)" \ apt-get satisfy -y "nodejs (>=18.19.0), curl (>=7.88.1), pkg-config (>=1.8.1), libssl-dev (>=3.0.14), git (>=2.39.2)" \
&& \ && \
rm -r /var/lib/apt/lists/* rm -r /var/lib/apt/lists/*