Add simple gitea runner demo
ubuntu / stable / fmt
Details
ubuntu / stable / fmt
Details
This commit is contained in:
parent
7f48bca5df
commit
88f463afa8
|
|
@ -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
|
||||||
Loading…
Reference in New Issue