Skip to content

Preparation for release (#4) #76

Preparation for release (#4)

Preparation for release (#4) #76

Workflow file for this run

name: CI
on:
push:
pull_request:
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
jobs:
build:
name: Build project
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[ci skip]')"
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install rust toolchain
uses: dsherret/rust-toolchain-file@v1
- name: Cache
uses: Swatinem/rust-cache@v2
- name: Cargo build
run: cargo build --release
- name: Cargo test
run: cargo test --release
- name: Cargo clippy
run: cargo clippy --release --all-targets -- -D warnings
- name: Cargo fmt
run: cargo fmt -- --check