Skip to content

fix workflow (4)

fix workflow (4) #24

Workflow file for this run

name: commit-check
on:
push:
paths-ignore:
- 'README.md'
- 'READMEs/**'
- '.vscode/**'
- 'TODO.md'
jobs:
check:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
#python: [cpython-3.13, pypy-3.11]
os: [ubuntu-latest, windows-latest]
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: install rustup (Windows)
if: runner.os == 'Windows'
shell: pwsh
run: |
Invoke-WebRequest -Uri "https://win.rustup.rs" -OutFile "rustup-init.exe"
ls
.\rustup-init.exe -y --profile minimal
- name: install rustup (Linux)
if: runner.os == 'Linux'
run: |
curl https://sh.rustup.rs -o rust-init.sh
sh rust-init.sh -y
- name: check Install
run: |
rustc --version
cargo --version
- name: debug check
run: cargo check
- name: release check
run: cargo check --release