From ff4dd1a4eb9e067a8f04545a7e0f2be70f7c18f6 Mon Sep 17 00:00:00 2001 From: Nikkuss Date: Tue, 11 Nov 2025 15:27:39 +0400 Subject: [PATCH] add cache --- .gitea/workflows/build.yaml | 12 ++++++++++++ .gitea/workflows/checks.yaml | 11 ----------- 2 files changed, 12 insertions(+), 11 deletions(-) create mode 100644 .gitea/workflows/build.yaml delete mode 100644 .gitea/workflows/checks.yaml diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml new file mode 100644 index 0000000..5fce1b1 --- /dev/null +++ b/.gitea/workflows/build.yaml @@ -0,0 +1,12 @@ +name: checks +on: + push: + branches: + - main +jobs: + checks: + runs-on: nix + steps: + - uses: actions/checkout@v4 + - run: attic login pkgs https://attic.scug.io ${{ secrets.ATTIC_TOKEN }} + - run: nix-fast-build -- --systems "x86_64-linux aarch64-linux" --no-nom --attic-cache pkgs diff --git a/.gitea/workflows/checks.yaml b/.gitea/workflows/checks.yaml deleted file mode 100644 index aded13a..0000000 --- a/.gitea/workflows/checks.yaml +++ /dev/null @@ -1,11 +0,0 @@ -name: checks -on: - push: - branches: - - main -jobs: - checks: - runs-on: nix - steps: - - uses: actions/checkout@v4 - - run: nix flake check -L --all-systems