forked from lavina/lavina
1
0
Fork 0
lavina/.gitea/workflows/test-pr.yml
Workflow config file is invalid. Please check your config file: yaml: unmarshal errors: line 15: cannot unmarshal !!seq into string

24 lines
639 B
YAML

name: check-and-test
on: [push, pull_request]
jobs:
check-and-test:
runs-on: ubuntu-latest
steps:
- name: git checkout repository
uses: actions/checkout@v4
- name: setup rust
uses: https://github.com/actions-rs/toolchain@v1
- name: check formatting
uses: https://github.com/actions-rs/cargo@v1
with:
command: fmt
args: ["--check", "-p", "mgmt-api", "-p", "lavina"]
- name: cargo check
uses: https://github.com/actions-rs/cargo@v1
with:
command: check
- name: test
uses: https://github.com/actions-rs/cargo@v1
with:
command: test