neon_arch commited on
Commit
36aa2f9
1 Parent(s): a569f07

ci: updating github cis

Browse files
.github/workflows/labels.yml CHANGED
@@ -3,7 +3,7 @@ name: Import open source standard labels
3
  on:
4
  push:
5
  branches:
6
- - main
7
 
8
  jobs:
9
  labels:
 
3
  on:
4
  push:
5
  branches:
6
+ - master
7
 
8
  jobs:
9
  labels:
.github/workflows/releases.yml CHANGED
@@ -2,7 +2,7 @@ name: Releases
2
  on:
3
  push:
4
  branches:
5
- - rolling
6
 
7
  concurrency:
8
  group: "rolling-branch"
 
2
  on:
3
  push:
4
  branches:
5
+ - "rolling"
6
 
7
  concurrency:
8
  group: "rolling-branch"
.github/workflows/rustfmt.yml CHANGED
@@ -9,10 +9,19 @@ on:
9
 
10
  jobs:
11
  format:
 
12
  runs-on: ubuntu-latest
13
  steps:
14
- - uses: actions/checkout@v3
15
- - uses: dtolnay/rust-toolchain@stable
16
- - uses: mbrobbel/rustfmt-check@master
17
- with:
18
- token: ${{ secrets.GITHUB_TOKEN }}
 
 
 
 
 
 
 
 
 
9
 
10
  jobs:
11
  format:
12
+ name: rustfmt
13
  runs-on: ubuntu-latest
14
  steps:
15
+ - uses: actions/checkout@v2
16
+ - uses: actions-rs/toolchain@v1
17
+ with:
18
+ toolchain: nightly
19
+ components: rustfmt
20
+ override: true
21
+ - uses: LoliGothick/rustfmt-check@master
22
+ with:
23
+ token: ${{ secrets.GITHUB_TOKEN }}
24
+ flags: --all
25
+ options: --manifest-path=Cargo.toml
26
+ args: --config-path=rustfmt.toml
27
+ working-directory: my_crate