rust/.forgejo/workflows/test.yml
Paul Campbell b7dd7cb08c
Some checks failed
/ test (push) Failing after 13s
build: add docker build step to test workflow
2024-09-08 05:43:14 +01:00

34 lines
744 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: 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