diff --git a/.forgejo/workflows/android-emulator-tests.yml b/.forgejo/workflows/android-emulator-tests.yml index 2af9349..f60af9f 100644 --- a/.forgejo/workflows/android-emulator-tests.yml +++ b/.forgejo/workflows/android-emulator-tests.yml @@ -9,7 +9,7 @@ on: jobs: integration-android: name: Android Emulator Integration Tests - runs-on: self-hosted + runs-on: ubuntu-latest timeout-minutes: 60 steps: @@ -17,6 +17,10 @@ jobs: with: fetch-depth: 50 + - uses: cachix/install-nix-action@v27 + with: + nix_path: nixpkgs=channel:nixos-25.11 + - name: Enable Nix flakes run: | mkdir -p ~/.config/nix diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index 1f839ce..d37af76 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -8,7 +8,7 @@ on: jobs: check: name: Full Project Check - runs-on: self-hosted + runs-on: ubuntu-latest timeout-minutes: 30 steps: @@ -16,6 +16,10 @@ jobs: with: fetch-depth: 50 + - uses: cachix/install-nix-action@v27 + with: + nix_path: nixpkgs=channel:nixos-25.11 + - name: Enable Nix flakes run: | mkdir -p ~/.config/nix @@ -26,7 +30,7 @@ jobs: build-linux: name: Build Linux Release - runs-on: self-hosted + runs-on: ubuntu-latest needs: check if: github.ref == 'refs/heads/main' @@ -35,6 +39,10 @@ jobs: with: fetch-depth: 50 + - uses: cachix/install-nix-action@v27 + with: + nix_path: nixpkgs=channel:nixos-25.11 + - name: Enable Nix flakes run: | mkdir -p ~/.config/nix @@ -52,7 +60,7 @@ jobs: deploy-playstore: name: Build & Deploy to Play Store - runs-on: self-hosted + runs-on: ubuntu-latest needs: check if: github.ref == 'refs/heads/main' @@ -61,6 +69,10 @@ jobs: with: fetch-depth: 50 + - uses: cachix/install-nix-action@v27 + with: + nix_path: nixpkgs=channel:nixos-25.11 + - name: Enable Nix flakes run: | mkdir -p ~/.config/nix @@ -112,7 +124,7 @@ jobs: publish-website: name: Publish Website Build History - runs-on: self-hosted + runs-on: ubuntu-latest needs: [build-linux, deploy-playstore] if: | always() && @@ -124,6 +136,10 @@ jobs: with: fetch-depth: 1 + - uses: cachix/install-nix-action@v27 + with: + nix_path: nixpkgs=channel:nixos-25.11 + - name: Enable Nix flakes run: | mkdir -p ~/.config/nix diff --git a/.forgejo/workflows/website.yml b/.forgejo/workflows/website.yml index e0dfa9d..5636699 100644 --- a/.forgejo/workflows/website.yml +++ b/.forgejo/workflows/website.yml @@ -12,13 +12,17 @@ on: jobs: deploy: name: Build & Deploy Website - runs-on: self-hosted + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 with: submodules: recursive + - uses: cachix/install-nix-action@v27 + with: + nix_path: nixpkgs=channel:nixos-25.11 + - name: Enable Nix flakes run: | mkdir -p ~/.config/nix