CI not working yet
This commit is contained in:
@@ -1,32 +0,0 @@
|
|||||||
name: Tests
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
check:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Install Nix
|
|
||||||
uses: cachix/install-nix-action@v22
|
|
||||||
with:
|
|
||||||
nix_path: nixpkgs=channel:nixos-unstable
|
|
||||||
extra_nix_config: |
|
|
||||||
experimental-features = nix-command flakes
|
|
||||||
|
|
||||||
- name: Run flake check
|
|
||||||
run: nix flake check --accept-flake-config
|
|
||||||
|
|
||||||
- name: Build packages
|
|
||||||
run: nix build .#opencode-jailed .#claude-jailed
|
|
||||||
|
|
||||||
- name: Run tests
|
|
||||||
run: nix build .#checks.${{ runner.system }}.*
|
|
||||||
Reference in New Issue
Block a user