ci: updating github cis
This commit is contained in:
parent
a569f077cb
commit
36aa2f9e86
3 changed files with 16 additions and 7 deletions
2
.github/workflows/labels.yml
vendored
2
.github/workflows/labels.yml
vendored
|
@ -3,7 +3,7 @@ name: Import open source standard labels
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- master
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
labels:
|
labels:
|
||||||
|
|
2
.github/workflows/releases.yml
vendored
2
.github/workflows/releases.yml
vendored
|
@ -2,7 +2,7 @@ name: Releases
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- rolling
|
- "rolling"
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: "rolling-branch"
|
group: "rolling-branch"
|
||||||
|
|
15
.github/workflows/rustfmt.yml
vendored
15
.github/workflows/rustfmt.yml
vendored
|
@ -9,10 +9,19 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
format:
|
format:
|
||||||
|
name: rustfmt
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v2
|
||||||
- uses: dtolnay/rust-toolchain@stable
|
- uses: actions-rs/toolchain@v1
|
||||||
- uses: mbrobbel/rustfmt-check@master
|
with:
|
||||||
|
toolchain: nightly
|
||||||
|
components: rustfmt
|
||||||
|
override: true
|
||||||
|
- uses: LoliGothick/rustfmt-check@master
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
flags: --all
|
||||||
|
options: --manifest-path=Cargo.toml
|
||||||
|
args: --config-path=rustfmt.toml
|
||||||
|
working-directory: my_crate
|
||||||
|
|
Loading…
Add table
Reference in a new issue