Skip to content

build(deps): bump github/codeql-action from 3.25.15 to 3.26.9 #339

build(deps): bump github/codeql-action from 3.25.15 to 3.26.9

build(deps): bump github/codeql-action from 3.25.15 to 3.26.9 #339

Workflow file for this run

name: Rust - test
on:
workflow_dispatch:
push:
branches:
- 'main'
pull_request:
paths:
- '.github/workflows/**'
- 'assets/**'
- 'rust/**'
- 'tests_data/**'
permissions:
contents: read
jobs:
changelog:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # pin@v4
with:
fetch-depth: 0
- run: ./changelog.sh
working-directory: rust
test:
runs-on: ubuntu-latest
strategy:
matrix:
toolchain: [stable, nightly]
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # pin@v4
- run: rustup default ${{ matrix.toolchain }}
- run: rustup component add rustfmt clippy
- run: rustup target add aarch64-apple-darwin x86_64-pc-windows-msvc
- run: ./test.sh
working-directory: rust
run:
runs-on: ${{ matrix.os }}-latest
strategy:
matrix:
os: [ubuntu, macos, windows]
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # pin@v4
- run: cargo build --release
working-directory: rust/cli
- run: rust/target/release/magika -r tests_data/basic