diff --git a/.github/workflows/code.yaml b/.github/workflows/code.yaml index 696b0346..6917a152 100644 --- a/.github/workflows/code.yaml +++ b/.github/workflows/code.yaml @@ -6,16 +6,7 @@ on: pull_request: jobs: code: - runs-on: macos-14 + runs-on: self-hosted steps: - uses: actions/checkout@v4 - - uses: DeterminateSystems/nix-installer-action@main - 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 - - uses: yaxitech/nix-install-pkgs-action@v3 - with: - packages: "github:srid/nixci" - run: nixci build diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 8cea7b65..39b26ebb 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -6,15 +6,9 @@ on: pull_request: jobs: emanote: - runs-on: ubuntu-latest + runs-on: self-hosted steps: - - uses: actions/checkout@v3 - - uses: DeterminateSystems/nix-installer-action@main - 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/ - access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} + - uses: actions/checkout@v4 - name: Build the website (Nix) 🔧 run: | nix build -j 4