Skip to content
Merged
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
4 changes: 3 additions & 1 deletion .github/workflows/build-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ jobs:
with:
context: .
file: Dockerfile
platforms: linux/amd64,linux/arm64
# On PRs we only verify the build doesn't break; arm64 under QEMU
# is ~5-8x slower and adds no signal there. Multi-arch on push/tag.
platforms: ${{ github.event_name == 'pull_request' && 'linux/amd64' || 'linux/amd64,linux/arm64' }}
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.docker_meta.outputs.tags }}
build-args: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/e2e-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ jobs:
platforms: linux/amd64
push: ${{ github.event_name == 'pull_request' || github.event_name == 'push' }}
tags: ghcr.io/nuts-foundation/nuts-node-ci:${{ env.SHA }}
cache-from: type=gha,scope=e2e
cache-to: type=gha,scope=e2e,mode=max
secrets: |
GIT_AUTH_TOKEN=${{ secrets.PACKAGE_SECRET }}

Expand All @@ -72,6 +74,8 @@ jobs:
platforms: linux/amd64
push: ${{ github.event_name == 'pull_request' || github.event_name == 'push' }}
tags: ghcr.io/nuts-foundation/nuts-node-ci:${{ env.SHA }}
cache-from: type=gha,scope=e2e
cache-to: type=gha,scope=e2e,mode=max

- name: Run E2E tests
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/go-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
go-version-file: 'go.mod'

- name: Test
run: go test -p 1 ./... -race -coverprofile=c_raw.out
run: go test ./... -race -coverprofile=c_raw.out

- name: Filter coverage
run: grep -v generated c_raw.out | grep -v mock | grep -v test > c.out
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,7 @@ data

/nuts-node
nuts.yaml

# Local scratch directory and Claude Code session state
.scratch/
.claude/scheduled_tasks.lock
Loading