Skip to content

build(deps): bump actions/setup-python from 5.2.0 to 5.3.0 #454

build(deps): bump actions/setup-python from 5.2.0 to 5.3.0

build(deps): bump actions/setup-python from 5.2.0 to 5.3.0 #454

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@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # 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@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # pin@v4
- run: rustup default ${{ matrix.toolchain }}
- run: rustup component add rustfmt clippy
- run: ./test.sh
working-directory: rust
run:
runs-on: ${{ matrix.os }}-latest
strategy:
matrix:
os: [ubuntu, macos, windows]
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # pin@v4
- run: cargo build --release
working-directory: rust/cli
- run: rust/target/release/magika -r tests_data/basic