rust/.forgejo/workflows/test.yml
Paul Campbell 94d6162f57
Some checks failed
/ test (push) Failing after 12s
build: add docker build step to test workflow
2024-09-08 05:44:07 +01:00

34 lines
751 B
YAML

on:
push:
branches:
- next
jobs:
test:
runs-on: docker
steps:
- uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
driver: remote
driver-opts: remote=tcp://docker-in-docker:2375
- name: docker build
uses: docker/build-push-action@v6
with:
push: false
- name: Test
uses: https://git.kemitix.net/kemitix/rust@next
with:
args: cargo test
- name: Build
uses: https://git.kemitix.net/kemitix/rust@next
with:
args: cargo build
- name: Run
uses: https://git.kemitix.net/kemitix/rust@next
with:
args: cargo run