ci: test hello nix job
Nix Test / test-nix (push) Failing after 13s

This commit is contained in:
2026-06-15 16:18:02 +09:00
parent 6e0dee4652
commit 77574ad361
4 changed files with 66 additions and 18 deletions
-18
View File
@@ -1,18 +0,0 @@
name: Gitea Actions Demo
run-name: ${{ gitea.actor }} testing Gitea Actions 🚀
on: [push]
jobs:
Explore-Gitea-Actions:
runs-on: ubuntu-latest
steps:
- name: Checkout repository code
uses: actions/checkout@v4
- name: Say Hello
run: |
echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
echo "🐧 This job is now running on a ${{ runner.os }} server!"
echo "🖥️ Working directory is ${{ gitea.workspace }}"
ls -la
+22
View File
@@ -0,0 +1,22 @@
name: Nix Test
on: [push]
jobs:
test-nix:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Nix
uses: https://github.com/nixbuild/nix-quick-install-action@v30
with:
nix_conf: |
sandbox = false
experimental-features = nix-command flakes
- name: Build with Nix
run: |
nix build .#default
./result/bin/hello