Add simple gitea runner demo
ubuntu / stable / fmt Details

This commit is contained in:
chmanie 2023-06-11 20:11:16 +02:00
parent 7f48bca5df
commit 88f463afa8
5 changed files with 20 additions and 0 deletions

20
.gitea/workflows/main.yml Normal file
View File

@ -0,0 +1,20 @@
name: CI checks
run-name: CI checks that run when main branch is changed
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
fmt:
runs-on: ubuntu-latest
name: ubuntu / stable / fmt
steps:
- uses: actions/checkout@v3
- name: Install stable
uses: https://github.com/dtolnay/rust-toolchain@stable
with:
components: rustfmt
- name: cargo fmt --check
run: cargo fmt --check --all