mirror of
https://github.com/neon-mmd/websurfx.git
synced 2024-12-22 20:38:22 -05:00
ci: updating github cis
This commit is contained in:
parent
a569f077cb
commit
36aa2f9e86
2
.github/workflows/labels.yml
vendored
2
.github/workflows/labels.yml
vendored
@ -3,7 +3,7 @@ name: Import open source standard labels
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- master
|
||||
|
||||
jobs:
|
||||
labels:
|
||||
|
2
.github/workflows/releases.yml
vendored
2
.github/workflows/releases.yml
vendored
@ -2,7 +2,7 @@ name: Releases
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- rolling
|
||||
- "rolling"
|
||||
|
||||
concurrency:
|
||||
group: "rolling-branch"
|
||||
|
19
.github/workflows/rustfmt.yml
vendored
19
.github/workflows/rustfmt.yml
vendored
@ -9,10 +9,19 @@ on:
|
||||
|
||||
jobs:
|
||||
format:
|
||||
name: rustfmt
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- uses: mbrobbel/rustfmt-check@master
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: nightly
|
||||
components: rustfmt
|
||||
override: true
|
||||
- uses: LoliGothick/rustfmt-check@master
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
flags: --all
|
||||
options: --manifest-path=Cargo.toml
|
||||
args: --config-path=rustfmt.toml
|
||||
working-directory: my_crate
|
||||
|
Loading…
Reference in New Issue
Block a user