Skip to content

Bump the actions-updates group across 1 directory with 9 updates #318

Bump the actions-updates group across 1 directory with 9 updates

Bump the actions-updates group across 1 directory with 9 updates #318

Workflow file for this run

name: Lint and Test Code
on:
pull_request:
branches:
- main
permissions:
contents: read # Default token to read
jobs:
rustfmt:
name: rustfmt
runs-on: ubuntu-latest
steps:
- name: harden runner
uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0
with:
egress-policy: audit
- name: checkout repository
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
submodules: recursive
persist-credentials: false
- name: 'cargo fmt'
run: cargo fmt --all -- --check
full-build:
strategy:
fail-fast: false
matrix:
platform:
- { arch: x86_64, on: ubuntu-latest }
- { arch: aarch64, on: ubuntu-24.04-arm }
runs-on: "${{ matrix.platform.on }}"
env:
TARGET_ARCH: "${{ matrix.platform.arch }}"
name: 'Full build linux-${{ matrix.platform.arch }}'
steps:
- name: harden runner
uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0
with:
egress-policy: audit
- name: checkout repository
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
submodules: recursive
persist-credentials: false
- name: cargo build
run: cargo build
clippy:
runs-on: ubuntu-latest
strategy:
matrix:
arch:
- x86_64
env:
TARGET_ARCH: "${{ matrix.arch }}"
name: 'Full clippy linux-${{ matrix.arch }}'
steps:
- name: harden runner
uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0
with:
egress-policy: audit
- name: checkout repository
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
submodules: recursive
persist-credentials: false
- name: 'cargo clippy'
run: cargo clippy