fix workflow (4) #24
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |