Skip to content

chore(deps): bump rustls-webpki from 0.103.8 to 0.103.10 in /newm-admin #40

chore(deps): bump rustls-webpki from 0.103.8 to 0.103.10 in /newm-admin

chore(deps): bump rustls-webpki from 0.103.8 to 0.103.10 in /newm-admin #40

Workflow file for this run

# CI workflow for NEWM Admin - runs on pull requests
# For releases, see newm-admin-release.yml
on:
pull_request:
paths:
- 'newm-admin/**'
name: NEWM Admin CI
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build:
name: Build
strategy:
fail-fast: false
matrix:
job:
- { os: ubuntu-24.04, label: ubuntu24, target: x86_64-unknown-linux-gnu }
- { os: macos-latest, label: macos, target: aarch64-apple-darwin }
- { os: windows-latest, label: windows, target: x86_64-pc-windows-msvc }
rust: [ stable ]
runs-on: ${{ matrix.job.os }}
defaults:
run:
working-directory: newm-admin
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
components: rustfmt, clippy
- name: Setup Rust cache
uses: Swatinem/rust-cache@v2
with:
workspaces: "newm-admin -> target"
- name: Install Linux dependencies
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y libxkbcommon-x11-dev libxkbcommon-dev libwayland-dev libfuse2
- name: Run cargo check
if: ${{ matrix.job.target == 'x86_64-unknown-linux-gnu' }}
run: cargo check
- name: Run cargo fmt
if: ${{ matrix.job.target == 'x86_64-unknown-linux-gnu' }}
run: cargo fmt --all -- --check
- name: Run cargo clippy
run: cargo clippy --release --target ${{ matrix.job.target }} -- -D warnings
- name: Run cargo test
run: cargo test --release --target ${{ matrix.job.target }}
- name: Build Release
run: cargo build --release --target ${{ matrix.job.target }} --locked