0
0
mirror of https://github.com/neon-mmd/websurfx.git synced 2024-11-21 13:38:21 -05:00

ci: updating github cis

This commit is contained in:
neon_arch 2023-05-13 19:45:59 +03:00
parent a569f077cb
commit 36aa2f9e86
3 changed files with 16 additions and 7 deletions

View File

@ -3,7 +3,7 @@ name: Import open source standard labels
on:
push:
branches:
- main
- master
jobs:
labels:

View File

@ -2,7 +2,7 @@ name: Releases
on:
push:
branches:
- rolling
- "rolling"
concurrency:
group: "rolling-branch"

View File

@ -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