diff options
author | Aram Drevekenin <aram@poor.dev> | 2022-12-20 12:24:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-20 12:24:19 +0100 |
commit | d1cacc3fa8c829320a447f238c3894a28a183bf9 (patch) | |
tree | a8b42f0725e31ad5e5c1125560bf193a3eec41ec /.github | |
parent | 6a5e15edf33c034b049a866f8628968b5168c533 (diff) |
chore(repo): remove nix support (#2038)
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/e2e.yml | 5 | ||||
-rw-r--r-- | .github/workflows/nix-develop.yml | 72 | ||||
-rw-r--r-- | .github/workflows/update-flake-lock.yml | 24 |
3 files changed, 0 insertions, 101 deletions
diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 959bf7ec0..44fd6d5cb 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -30,11 +30,6 @@ jobs: options: -v ${{ github.workspace }}/target:/usr/src/zellij --name ssh steps: - uses: actions/checkout@v3 - - uses: cachix/install-nix-action@v18 - - uses: cachix/cachix-action@v12 - with: - name: zellij - authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' - name: Add WASM target run: rustup target add wasm32-wasi - name: Install musl-tools diff --git a/.github/workflows/nix-develop.yml b/.github/workflows/nix-develop.yml deleted file mode 100644 index 9b34a4633..000000000 --- a/.github/workflows/nix-develop.yml +++ /dev/null @@ -1,72 +0,0 @@ -# This is a workflow, consisting of jobs that only need to be run, -# once `*nix`, or `flake.lock` files change -name: nix-develop - -on: - push: - branches: - - main - paths: - - '**.nix' - - 'flake.lock' - - 'rust-toolchain' - pull_request: - branches: - - main - paths: - - '**.nix' - - 'flake.lock' - - 'rust-toolchain' - -jobs: - check: - runs-on: ubuntu-latest - name: "nix check" - timeout-minutes: 5 - steps: - - uses: actions/checkout@v3 - with: - # Nix Flakes doesn't work on shallow clones - fetch-depth: 0 - - uses: cachix/install-nix-action@v18 - - uses: cachix/cachix-action@v12 - with: - name: zellij - # If you chose API tokens for write access OR if you have a private cache - authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' - - run: nix develop .#fmtShell --command treefmt --fail-on-change - ## nix flake check still fails on IFD - #- run: nix flake check --print-build-logs --show-trace - develop: - runs-on: ubuntu-latest - name: "nix develop" - timeout-minutes: 10 - steps: - - uses: actions/checkout@v3 - with: - # Nix Flakes doesn't work on shallow clones - fetch-depth: 0 - - uses: cachix/install-nix-action@v18 - - uses: cachix/cachix-action@v12 - with: - name: zellij - # If you chose API tokens for write access OR if you have a private cache - authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' - - run: nix develop --profile devShell - build: - runs-on: ubuntu-latest - name: "nix build" - timeout-minutes: 35 - steps: - - uses: actions/checkout@v3 - with: - # Nix Flakes doesn't work on shallow clones - fetch-depth: 0 - - uses: cachix/install-nix-action@v18 - - uses: cachix/cachix-action@v12 - with: - name: zellij - # If you chose API tokens for write access OR if you have a private cache - authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' - - run: | - nix build || nix build --substituters 'https://cache.nixos.org' --extra-substituters '' diff --git a/.github/workflows/update-flake-lock.yml b/.github/workflows/update-flake-lock.yml deleted file mode 100644 index fb70b3455..000000000 --- a/.github/workflows/update-flake-lock.yml +++ /dev/null @@ -1,24 +0,0 @@ -name: update-flake-lock -on: - workflow_dispatch: # allows manual triggering - schedule: - - cron: '0 0 1 * *' # runs on the first of every month at 00:00 - -jobs: - lockfile: - runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v3 - - name: Install Nix - uses: cachix/install-nix-action@v18 - with: - extra_nix_config: | - access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} - - name: Update flake.lock - uses: DeterminateSystems/update-flake-lock@v15 - with: - token: ${{ secrets.GH_TOKEN_FOR_UPDATES }} - pr-labels: | - dependencies - nix |