Skip to content

ci: update release workflow #2

ci: update release workflow

ci: update release workflow #2

Workflow file for this run

on:
pull_request:
push:
branches:
- master
name: CI
jobs:
build_and_test:
name: cargo build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
default: true
- uses: actions-rs/cargo@v1
with:
command: build
args: --release --all-features
clippy:
name: cargo clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
default: true
components: clippy
- uses: actions-rs/cargo@v1
with:
command: clippy
args: --release --all-features
fmt:
name: cargo fmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
default: true
components: rustfmt
- uses: actions-rs/cargo@v1
with:
command: fmt