mirror of
https://github.com/System-End/slack-morphism-rust.git
synced 2026-04-19 23:22:56 +00:00
Toolchain updates for pipelines
This commit is contained in:
parent
7e655c536b
commit
60d9583363
4 changed files with 14 additions and 3 deletions
3
.github/workflows/gh-pages.yml
vendored
3
.github/workflows/gh-pages.yml
vendored
|
|
@ -4,6 +4,9 @@ on:
|
|||
push:
|
||||
branches:
|
||||
- master
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref_protected && github.run_id || github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
|||
3
.github/workflows/security-audit.yml
vendored
3
.github/workflows/security-audit.yml
vendored
|
|
@ -6,6 +6,9 @@ on:
|
|||
- '**/Cargo.lock'
|
||||
schedule:
|
||||
- cron: '5 4 * * 6'
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref_protected && github.run_id || github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
jobs:
|
||||
security_audit:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
|||
5
.github/workflows/tests.yml
vendored
5
.github/workflows/tests.yml
vendored
|
|
@ -2,7 +2,10 @@ name: tests & formatting
|
|||
on:
|
||||
push:
|
||||
pull_request:
|
||||
types: [opened]
|
||||
types: [opened]
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref_protected && github.run_id || github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
|||
6
.github/workflows/windows-build.yml
vendored
6
.github/workflows/windows-build.yml
vendored
|
|
@ -3,14 +3,16 @@ on:
|
|||
push:
|
||||
pull_request:
|
||||
types: [opened]
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref_protected && github.run_id || github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
jobs:
|
||||
build:
|
||||
runs-on: windows-2022
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions-rs/toolchain@v1
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: stable
|
||||
components: rustfmt, clippy
|
||||
- run: cargo fmt -- --check && cargo clippy --all-features -- -Dwarnings && cargo test --all-features
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue