rust/.forgejo/workflows/test.yml

35 lines
751 B
YAML
Raw Normal View History

on:
push:
branches:
- next
2024-05-16 18:52:20 +01:00
jobs:
test:
runs-on: docker
steps:
2024-05-16 19:53:35 +01:00
- 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
2024-05-16 19:47:20 +01:00
- name: Test
uses: https://git.kemitix.net/kemitix/rust@next
2024-05-16 18:52:20 +01:00
with:
args: cargo test
2024-05-16 19:54:56 +01:00
2024-05-16 19:47:20 +01:00
- name: Build
uses: https://git.kemitix.net/kemitix/rust@next
2024-05-16 19:47:20 +01:00
with:
args: cargo build
2024-05-16 19:54:56 +01:00
- name: Run
uses: https://git.kemitix.net/kemitix/rust@next
2024-05-16 19:54:56 +01:00
with:
args: cargo run