0
0
mirror of https://github.com/neon-mmd/websurfx.git synced 2024-11-21 21:48: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: on:
push: push:
branches: branches:
- main - master
jobs: jobs:
labels: labels:

View File

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

View File

@ -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:
with: toolchain: nightly
token: ${{ secrets.GITHUB_TOKEN }} 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