diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 162436d..89193be 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -16,36 +16,8 @@ jobs: steps: - uses: actions/checkout@v3 - # https://github.com/orgs/community/discussions/25678#discussioncomment-5242449 - - name: Delete huge unnecessary tools folder - if: runner.os == 'Linux' - run: | - sudo rm -rf /usr/share/dotnet - sudo rm -rf "$AGENT_TOOLSDIRECTORY" - sudo rm -rf /opt/ghc - sudo rm -rf "/usr/local/share/boost" - sudo rm -rf \ - "$AGENT_TOOLSDIRECTORY" \ - /opt/google/chrome \ - /opt/microsoft/msedge \ - /opt/microsoft/powershell \ - /opt/pipx \ - /usr/lib/mono \ - /usr/local/julia* \ - /usr/local/lib/android \ - /usr/local/lib/node_modules \ - /usr/local/share/chromium \ - /usr/local/share/powershell \ - /usr/share/dotnet \ - /usr/share/swift - df -h / - - uses: DeterminateSystems/nix-installer-action@main name: Install Nix - with: - extra-conf: | - trusted-public-keys = cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= - substituters = https://cache.garnix.io?priority=41 https://cache.nixos.org/ - uses: DeterminateSystems/magic-nix-cache-action@main @@ -54,11 +26,15 @@ jobs: name: codosseum authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" - - uses: yaxitech/nix-install-pkgs-action@v3 - with: - packages: "github:srid/nixci" - - run: nixci build - + - name: Install omnix + run: nix --accept-flake-config profile install "github:juspay/omnix" + + - name: Build all flake outputs + run: om ci + + - name: What GHC version? + run: nix develop -c ghc --version + build-docker: runs-on: ubuntu-latest needs: build diff --git a/flake.lock b/flake.lock index 894aae7..bb423c4 100644 --- a/flake.lock +++ b/flake.lock @@ -87,11 +87,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1725503534, - "narHash": "sha256-hd1eRyPtTkRnAPYpnEfzugQwAifVYMmOR3z+MTTSw+g=", + "lastModified": 1725534445, + "narHash": "sha256-Yd0FK9SkWy+ZPuNqUgmVPXokxDgMJoGuNpMEtkfcf84=", "owner": "nixos", "repo": "nixpkgs", - "rev": "fcb54ddcc974cff59bdfb7c1ac9e080299763d2d", + "rev": "9bb1e7571aadf31ddb4af77fc64b2d59580f9a39", "type": "github" }, "original": {