aboutsummaryrefslogtreecommitdiffstats
path: root/.depot/workflows/nix.yml
diff options
context:
space:
mode:
authorEllie Huxtable <ellie@atuin.sh>2026-03-26 19:05:26 +0000
committerGitHub <noreply@github.com>2026-03-26 19:05:26 +0000
commit3cdb6a62f75ab9dd5390f3506f5c62530d7299c7 (patch)
tree69b5ee20cb1326fe30bb560179c6566a82f2707d /.depot/workflows/nix.yml
parentfix: remove unnecessary arboard/image-data default feature (#3345) (diff)
downloadatuin-3cdb6a62f75ab9dd5390f3506f5c62530d7299c7.zip
chore(ci): switch most workflows to depot ci (#3352)
Continuing the trend of shifting away from GitHub services. Depot is faster, and more reliable. Avoiding docker + release workflows for now, as those have been a pain in the ass to get correct. Will check and see if we can ensure the logs/etc can be public. I'm going to merge this, see how well it works, and if we're good delete the matching github workflows <!-- Thank you for making a PR! Bug fixes are always welcome, but if you're adding a new feature or changing an existing one, we'd really appreciate if you open an issue, post on the forum, or drop in on Discord --> ## Checks - [ ] I am happy for maintainers to push small adjustments to this PR, to speed up the review cycle - [ ] I have checked that there are no existing pull requests for the same thing
Diffstat (limited to '.depot/workflows/nix.yml')
-rw-r--r--.depot/workflows/nix.yml33
1 files changed, 33 insertions, 0 deletions
diff --git a/.depot/workflows/nix.yml b/.depot/workflows/nix.yml
new file mode 100644
index 00000000..3b5a360a
--- /dev/null
+++ b/.depot/workflows/nix.yml
@@ -0,0 +1,33 @@
+# Depot CI Migration
+# Source: .github/workflows/nix.yml
+#
+# No changes were necessary.
+
+# Verify the Nix build is working
+# Failures will usually occur due to an out of date Rust version
+# That can be updated to the latest version in nixpkgs-unstable with `nix flake update`
+name: Nix
+on:
+ push:
+ branches: [main]
+ paths-ignore:
+ - 'ui/**'
+ pull_request:
+ branches: [main]
+ paths-ignore:
+ - 'ui/**'
+jobs:
+ check:
+ runs-on: depot-ubuntu-24.04
+ steps:
+ - uses: actions/checkout@v6
+ - uses: cachix/install-nix-action@v31
+ - name: Run nix flake check
+ run: nix flake check --print-build-logs
+ build-test:
+ runs-on: depot-ubuntu-24.04
+ steps:
+ - uses: actions/checkout@v6
+ - uses: cachix/install-nix-action@v31
+ - name: Run nix build
+ run: nix build --print-build-logs