Skip to content

Create artifacts.yml #160

Create artifacts.yml

Create artifacts.yml #160

Workflow file for this run

name: Build
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
toolchain:
- nightly
defaults:
run:
working-directory: .
steps:
- name: Setup Rust
uses: actions/checkout@v4.1.3
- name: Update Rust
run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- name: Install clippy nightly
run: rustup component add clippy-preview
- name: Install Cargo audit
run: cargo install cargo-audit
- name: Build
run: cargo build --verbose
- name: Test
run: cargo test --verbose
- name: Clippy
run: cargo clippy --verbose -- -D warnings
- name: Audit
run: cargo audit