Skip to content

chore(deps): update github-actions to v7 #108

chore(deps): update github-actions to v7

chore(deps): update github-actions to v7 #108

Workflow file for this run

# Jobs run on pull request
name: Pull request
on:
workflow_dispatch:
pull_request:
branches:
- main
env:
RUST_LOG: info
RUST_BACKTRACE: 1
jobs:
format:
name: Format
runs-on: depot-ubuntu-24.04-arm-16
steps:
- name: Checkout PR branch
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Install toolchain
uses: moonrepo/setup-rust@abb2d32350334249b178c401e5ec5836e0cd88d3 # v1.3.0
with:
components: rustfmt
bins: taplo-cli
cache-base: main
- name: Run format
run: |
cargo fmt --all --check
taplo format --check
lint:
name: Lint Rust Files
runs-on: depot-ubuntu-24.04-arm-16
steps:
- name: Checkout PR Branch
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Install toolchain
uses: moonrepo/setup-rust@abb2d32350334249b178c401e5ec5836e0cd88d3 # v1.3.0
with:
components: clippy
cache-base: main
- name: Run clippy
run: cargo clippy --all-targets -- --deny warnings