Skip to content

Commit 4fdb811

Browse files
committed
remove old k8s tests, add devbox to lint and test
1 parent 2827a71 commit 4fdb811

File tree

3 files changed

+15
-168
lines changed

3 files changed

+15
-168
lines changed

.github/workflows/k8s-e2e.yaml

Lines changed: 0 additions & 153 deletions
This file was deleted.

.github/workflows/lint.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,11 @@ jobs:
1414
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
1515
with:
1616
fetch-depth: 0 # needed for pre-commit to work correctly
17-
- name: Install Nix
18-
uses: cachix/install-nix-action@08dcb3a5e62fa31e2da3d490afc4176ef55ecd72 # v30
19-
with:
20-
nix_path: nixpkgs=channel:nixos-unstable
17+
- name: Install devbox
18+
uses: jetify-com/[email protected]
2119
- name: Run pre-commit checks
2220
run: |
23-
nix develop -c sh -c "pre-commit run --hook-stage pre-commit --show-diff-on-failure --color=always"
21+
devbox run -- pre-commit run --hook-stage pre-commit --show-diff-on-failure --color=always
2422
2523
clean-go-mods:
2624
name: Clean go mods

.github/workflows/test.yaml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,18 @@ jobs:
3333
steps:
3434
- name: Checkout the Repo
3535
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
36-
- name: Install gotestloghelper
37-
run: cd lib && make gotestloghelper_build
38-
- name: Install Nix
39-
uses: cachix/install-nix-action@08dcb3a5e62fa31e2da3d490afc4176ef55ecd72 # v30
40-
with:
41-
nix_path: nixpkgs=channel:nixos-unstable
42-
- name: Load Nix
43-
run: |
44-
nix develop -c sh -c "cd ${{ matrix.project.path }} && \
45-
go mod download"
36+
# - name: Install gotestloghelper
37+
# run: cd lib && make gotestloghelper_build
38+
# - name: Install Nix
39+
# uses: cachix/install-nix-action@08dcb3a5e62fa31e2da3d490afc4176ef55ecd72 # v30
40+
# with:
41+
# nix_path: nixpkgs=channel:nixos-unstable
42+
# - name: Load Nix
43+
# run: |
44+
# nix develop -c sh -c "cd ${{ matrix.project.path }} && \
45+
# go mod download"
46+
- name: Install devbox
47+
uses: jetify-com/[email protected]
4648
- name: Run Tests
4749
run: |
4850
PATH=$PATH:$(go env GOPATH)/bin

0 commit comments

Comments
 (0)