diff --git a/.github/workflows/workflow.yaml b/.github/workflows/workflow.yaml index 89365b96e..e30fe442c 100644 --- a/.github/workflows/workflow.yaml +++ b/.github/workflows/workflow.yaml @@ -38,108 +38,108 @@ jobs: - run: | bazelisk test buildifier:buildifier_test - test-nixpkgs: - name: Build & Test - Nixpkgs - strategy: - fail-fast: false - matrix: - os: [ubuntu-latest, macos-13] - module: [rules_haskell, rules_haskell_nix, rules_haskell_tests] - bzlmod: [true, false] - ghc: - - 9.4.6 - - 9.6.5 - - 9.8.1 - exclude: - - module: rules_haskell_nix + # test-nixpkgs: + # name: Build & Test - Nixpkgs + # strategy: + # fail-fast: false + # matrix: + # os: [ubuntu-latest, macos-13] + # module: [rules_haskell, rules_haskell_nix, rules_haskell_tests] + # bzlmod: [true, false] + # ghc: + # - 9.4.6 + # - 9.6.5 + # - 9.8.1 + # exclude: + # - module: rules_haskell_nix - bzlmod: false - # TODO: in a MODULE.bazel file we declare version specific dependencies, would need to use stack snapshot json - # and stack config per GHC version - - ghc: 9.8.1 - bzlmod: true - - ghc: 9.6.5 - bzlmod: true - runs-on: ${{ matrix.os }} - env: - NIX_SHELL_ARGS: --arg docTools false --argstr ghcVersion ${{ matrix.ghc }} - steps: - - uses: actions/checkout@v4 - - uses: ./.github/actions/free_disk_space_on_linux - - name: Mount Bazel cache - uses: actions/cache@v4 - with: - path: ~/repo-cache - key: repo-cache-${{ runner.os }}-nixpkgs-${{ env.cache-version }} - - uses: cachix/install-nix-action@v30 - with: - nix_path: nixpkgs=./nixpkgs/default.nix - extra_nix_config: | - trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= - extra-substituters = https://cache.iog.io - - uses: tweag/configure-bazel-remote-cache-auth@v0 - with: - buildbuddy_api_key: ${{ secrets.BUILDBUDDY_API_KEY }} - bazelrc_path: .bazelrc.auth - - uses: ./.github/actions/set_tcp_keepalive_time - - uses: extractions/netrc@v2 - with: - machine: api.github.com - password: ${{ secrets.GITHUB_TOKEN }} - - name: Configure - run: | - case ${{ runner.os }} in - macOS) BUILD_CONFIG=macos-nixpkgs;; - Linux) BUILD_CONFIG=linux-nixpkgs;; - esac - cat >>.bazelrc.local <>.bazelrc.local <