From 1b1fb2ed4db6747a8f85d3b8c5f2c4db0cd1a425 Mon Sep 17 00:00:00 2001 From: Utku Demir Date: Mon, 7 Nov 2022 20:28:51 +1300 Subject: [PATCH] ci: wip --- .github/workflows/nixpkgs.yaml | 25 ++++++++++++++++++++++++ .github/workflows/update-flake-lock.yaml | 2 +- 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/nixpkgs.yaml diff --git a/.github/workflows/nixpkgs.yaml b/.github/workflows/nixpkgs.yaml new file mode 100644 index 0000000..ad34384 --- /dev/null +++ b/.github/workflows/nixpkgs.yaml @@ -0,0 +1,25 @@ +name: nixpkgs-upstream-tests +on: + workflow_dispatch: + schedule: + - cron: '0 0 * * 0' +jobs: + nixpkgs-upstream-test: + strategy: + matrix: + os: + - ubuntu-latest + - macos-latest + branches: + - nixpkgs-unstable + - "22.05" + - "21.11" + - "21.05" + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v2 + - uses: cachix/install-nix-action@v18 + with: + extra_nix_config: | + experimental-features = nix-command flakes + - run: nix run 'nixpkgs/${{matrix.branch}}#nix-tree' -- --help diff --git a/.github/workflows/update-flake-lock.yaml b/.github/workflows/update-flake-lock.yaml index 05b51ce..ef53c21 100644 --- a/.github/workflows/update-flake-lock.yaml +++ b/.github/workflows/update-flake-lock.yaml @@ -4,7 +4,7 @@ on: schedule: - cron: '0 0 * * 0' jobs: - lockfile: + update-lockfile: runs-on: ubuntu-latest steps: - name: Checkout repository