Bump the patch group with 3 updates (#1722) #156
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: windows install directions | |
| permissions: | |
| contents: read | |
| on: | |
| pull_request: | |
| paths: | |
| - .github/workflows/make-release.yml | |
| - .github/workflows/windows-install-directions.yml | |
| - Makefile | |
| - scripts/release-install-instructions.sh | |
| - scripts/test-windows-install-directions.ps1 | |
| - Cargo.toml | |
| - Cargo.lock | |
| - rust-toolchain.toml | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - .github/workflows/make-release.yml | |
| - .github/workflows/windows-install-directions.yml | |
| - Makefile | |
| - scripts/release-install-instructions.sh | |
| - scripts/test-windows-install-directions.ps1 | |
| - Cargo.toml | |
| - Cargo.lock | |
| - rust-toolchain.toml | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| jobs: | |
| install: | |
| name: install from generated directions | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v7.0.0 | |
| - name: Install latest rust | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| toolchain: stable | |
| - name: Cache cargo registry | |
| uses: actions/cache@v6.1.0 | |
| with: | |
| path: ~/.cargo/registry | |
| key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }} | |
| - name: Cache cargo index | |
| uses: actions/cache@v6.1.0 | |
| with: | |
| path: ~/.cargo/git | |
| key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }} | |
| - name: Cache cargo build | |
| uses: actions/cache@v6.1.0 | |
| with: | |
| path: target | |
| key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }} | |
| - name: Build Windows binary | |
| run: cargo build --locked --bin zoo | |
| - name: Test generated install directions | |
| shell: pwsh | |
| run: ./scripts/test-windows-install-directions.ps1 -BinaryPath ./target/debug/zoo.exe |