2024-08-11 07:15:31 +01:00
|
|
|
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
|
|
|
|
|
2024-09-07 12:38:08 +01:00
|
|
|
- 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
|
2024-08-11 07:15:31 +01:00
|
|
|
uses: https://git.kemitix.net/kemitix/rust@next
|
2024-05-16 18:52:20 +01:00
|
|
|
with:
|
2024-08-11 07:15:31 +01:00
|
|
|
args: cargo test
|
2024-05-16 19:54:56 +01:00
|
|
|
|
2024-05-16 19:47:20 +01:00
|
|
|
- name: Build
|
2024-08-11 07:15:31 +01:00
|
|
|
uses: https://git.kemitix.net/kemitix/rust@next
|
2024-05-16 19:47:20 +01:00
|
|
|
with:
|
2024-08-11 07:15:31 +01:00
|
|
|
args: cargo build
|
2024-05-16 19:54:56 +01:00
|
|
|
|
|
|
|
- name: Run
|
2024-08-11 07:15:31 +01:00
|
|
|
uses: https://git.kemitix.net/kemitix/rust@next
|
2024-05-16 19:54:56 +01:00
|
|
|
with:
|
2024-08-11 07:15:31 +01:00
|
|
|
args: cargo run
|