Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
steps:
- uses: actions/checkout@v6
- uses: DeterminateSystems/determinate-nix-action@v3.17.2
- uses: DeterminateSystems/magic-nix-cache-action@v13
- uses: DeterminateSystems/magic-nix-cache-action@v14
- run: |
go mod tidy
go mod vendor
Expand All @@ -30,15 +30,15 @@ jobs:
steps:
- uses: actions/checkout@v6
- uses: DeterminateSystems/determinate-nix-action@v3.17.2
- uses: DeterminateSystems/magic-nix-cache-action@v13
- uses: DeterminateSystems/magic-nix-cache-action@v14
- run: nix build

docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: DeterminateSystems/determinate-nix-action@v3.17.2
- uses: DeterminateSystems/magic-nix-cache-action@v13
- uses: DeterminateSystems/magic-nix-cache-action@v14
- name: Build docs
run: |
nix develop . --command make gen-docs
Expand All @@ -49,31 +49,31 @@ jobs:
steps:
- uses: actions/checkout@v6
- uses: DeterminateSystems/determinate-nix-action@v3.17.2
- uses: DeterminateSystems/magic-nix-cache-action@v13
- uses: DeterminateSystems/magic-nix-cache-action@v14
- run: nix build .#kilo-cross-linux-amd64 .#kilo-cross-linux-arm64 .#kilo-cross-linux-arm

darwin:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: DeterminateSystems/determinate-nix-action@v3.17.2
- uses: DeterminateSystems/magic-nix-cache-action@v13
- uses: DeterminateSystems/magic-nix-cache-action@v14
- run: nix build .#kgctl-cross-darwin-amd64 .#kgctl-cross-darwin-arm64

windows:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: DeterminateSystems/determinate-nix-action@v3.17.2
- uses: DeterminateSystems/magic-nix-cache-action@v13
- uses: DeterminateSystems/magic-nix-cache-action@v14
- run: nix build .#kgctl-cross-windows-amd64

unit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: DeterminateSystems/determinate-nix-action@v3.17.2
- uses: DeterminateSystems/magic-nix-cache-action@v13
- uses: DeterminateSystems/magic-nix-cache-action@v14
- run: nix develop . --command go test -mod=vendor --race ./...

e2e:
Expand All @@ -96,7 +96,7 @@ jobs:
build-args: |
VERSION=${{ github.sha }}
- uses: DeterminateSystems/determinate-nix-action@v3.17.2
- uses: DeterminateSystems/magic-nix-cache-action@v13
- uses: DeterminateSystems/magic-nix-cache-action@v14
- env:
E2E_SKIP_TEARDOWN_ON_FAILURE: "true"
run: nix develop . --command make e2e
Expand All @@ -112,7 +112,7 @@ jobs:
steps:
- uses: actions/checkout@v6
- uses: DeterminateSystems/determinate-nix-action@v3.17.2
- uses: DeterminateSystems/magic-nix-cache-action@v13
- uses: DeterminateSystems/magic-nix-cache-action@v14
- run: nix flake check -L --show-trace

container:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
steps:
- uses: actions/checkout@v6
- uses: DeterminateSystems/determinate-nix-action@v3.17.2
- uses: DeterminateSystems/magic-nix-cache-action@v13
- uses: DeterminateSystems/magic-nix-cache-action@v14
- run: |
nix build .#kgctl-cross-linux-amd64 .#kgctl-cross-linux-arm64 .#kgctl-cross-linux-arm .#kgctl-cross-darwin-amd64 .#kgctl-cross-darwin-arm64 .#kgctl-cross-windows-amd64
for result in $(find -L . -name 'kgctl*' | grep result); do
Expand Down
Loading