rust/.forgejo/workflows/test.yml
Paul Campbell 2cf69b9e83
Some checks failed
/ test (push) Failing after 28s
build: add docker build step to test workflow
2024-09-08 05:59:53 +01:00

33 lines
719 B
YAML

on:
push:
branches:
- next
jobs:
test:
runs-on: docker
steps:
- uses: actions/checkout@v4
- name: Install Docker CLI
run: |
curl -fsSL https://get.docker.com -o get-docker.sh
sh get-docker.sh
sudo apt-get update && sudo apt-get upgrade -y
- name: docker build
run: docker build .
- 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