mirror of https://github.com/smol-rs/async-dup
Update CI config
This commit is contained in:
parent
8ec85546eb
commit
bcd0cf0cee
|
@ -49,10 +49,7 @@ jobs:
|
|||
- uses: actions/checkout@v3
|
||||
- name: Install Rust
|
||||
run: rustup update stable
|
||||
- uses: actions-rs/clippy-check@v1
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
args: --all-features -- -W clippy::all
|
||||
- run: cargo clippy --all-features
|
||||
|
||||
fmt:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -60,7 +57,7 @@ jobs:
|
|||
- uses: actions/checkout@v3
|
||||
- name: Install Rust
|
||||
run: rustup update stable
|
||||
- run: cargo fmt --all -- --check
|
||||
- run: cargo fmt --all --check
|
||||
|
||||
security_audit:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
@ -5,19 +5,12 @@ on:
|
|||
tags:
|
||||
- v[0-9]+.*
|
||||
|
||||
env:
|
||||
RUSTFLAGS: -D warnings
|
||||
RUST_BACKTRACE: 1
|
||||
|
||||
jobs:
|
||||
create-release:
|
||||
if: github.repository_owner == 'smol-rs'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Install Rust
|
||||
run: rustup update stable
|
||||
- run: cargo package
|
||||
- uses: taiki-e/create-gh-release-action@v1
|
||||
with:
|
||||
changelog: CHANGELOG.md
|
||||
|
|
Loading…
Reference in New Issue