Skip to content

Dependabot: Provide updates for rust dependencies #43

Dependabot: Provide updates for rust dependencies

Dependabot: Provide updates for rust dependencies #43

Workflow file for this run

name: CI
on:
pull_request: {}
push:
branches:
- main
jobs:
test:
name: test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
- name: Test
uses: actions-rs/cargo@v1
with:
command: test
clippy:
name: lint (clippy)
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Clippy
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
components: clippy
- name: Clippy
uses: actions-rs/cargo@v1
with:
command: clippy
rustfmt:
name: format (rustfmt)
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Rustfmt
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
components: rustfmt
- name: Rustfmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --check
build:
name: build
runs-on: ubuntu-latest
container: rust:bookworm
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
- name: Build
uses: actions-rs/cargo@v1
with:
command: build
args: --target x86_64-unknown-linux-gnu --release --target-dir /tmp