Ver código fonte

feat(CI): use namespace runners

Signed-off-by: squat <lserven@gmail.com>
squat 2 meses atrás
pai
commit
5068211581
2 arquivos alterados com 7 adições e 1 exclusões
  1. 4 0
      .github/actionlint.yaml
  2. 3 1
      .github/workflows/ci.yml

+ 4 - 0
.github/actionlint.yaml

@@ -0,0 +1,4 @@
+self-hosted-runner:
+  labels:
+    - nscloud-*
+    - namespace-*

+ 3 - 1
.github/workflows/ci.yml

@@ -77,7 +77,9 @@ jobs:
       - run: nix develop . --command go test -mod=vendor --race ./...
 
   e2e:
-    runs-on: ubuntu-latest
+    runs-on:
+      - nscloud-ubuntu-22.04-amd64-8x16-with-features
+      - namespace-features:kernel.release-channel=bleeding-edge
     steps:
       - uses: actions/checkout@v6
       - name: Set up Docker Buildx