Update CI config

This commit is contained in:
Taiki Endo 2022-07-08 02:44:20 +09:00
parent 638c76831a
commit 9d6a1c1632
2 changed files with 1 additions and 8 deletions

View File

@ -61,7 +61,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

View File

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