Add System.OsPath.Extra to buck-worker-types #9
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: Buck Tests | |
| on: | |
| push: | |
| branches: | |
| - dev | |
| workflow_dispatch: | |
| env: | |
| hix_test_verbose: 1 | |
| jobs: | |
| test-names: | |
| name: Run tests | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| id-token: write | |
| outputs: | |
| tests: ${{ steps.ci-matrix.outputs.tests }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Nix | |
| uses: cachix/install-nix-action@v31 | |
| - uses: cachix/cachix-action@v16 | |
| with: | |
| name: tek | |
| - id: ci-matrix | |
| name: Output CI matrix | |
| run: | | |
| echo -n "tests=" >> "$GITHUB_OUTPUT" | |
| nix --show-trace eval --json .#ci-matrix >> "$GITHUB_OUTPUT" | |
| tests: | |
| name: 🛠️ ${{ matrix.test }} | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| id-token: write | |
| needs: test-names | |
| strategy: | |
| matrix: | |
| test: ${{ fromJSON(needs.test-names.outputs.tests) }} | |
| fail-fast: false | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Nix | |
| uses: cachix/install-nix-action@v31 | |
| - uses: cachix/cachix-action@v16 | |
| with: | |
| name: tek | |
| - name: Free up space | |
| run: rm -rf /opt/hostedtoolcache | |
| - name: Run test '${{ matrix.test }}' | |
| run: nix --show-trace run .#${{ matrix.test }} |