Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test.yml: separate the job for building lima from the matrix test jobs to avoid duplicate builds under the same conditions. #2532

Draft
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

norio-nomura
Copy link
Contributor

This PR is based on #2508

@norio-nomura norio-nomura force-pushed the avoid-building-lima-in-matrix branch 11 times, most recently from 6ff2af1 to d65333a Compare August 6, 2024 07:52
@norio-nomura norio-nomura force-pushed the avoid-building-lima-in-matrix branch 2 times, most recently from 0d88ba9 to fcbb5a7 Compare August 7, 2024 02:43
@norio-nomura norio-nomura force-pushed the avoid-building-lima-in-matrix branch 11 times, most recently from 9d94a6c to 5607b83 Compare August 21, 2024 04:13
@norio-nomura norio-nomura force-pushed the avoid-building-lima-in-matrix branch 5 times, most recently from 5cf1f26 to ddd258d Compare September 2, 2024 10:37
@norio-nomura norio-nomura force-pushed the avoid-building-lima-in-matrix branch 4 times, most recently from 28c1620 to 7f5c6c0 Compare September 8, 2024 12:20
@norio-nomura norio-nomura force-pushed the avoid-building-lima-in-matrix branch 6 times, most recently from 3ba4254 to 5da1ff8 Compare September 13, 2024 00:46
…obs to avoid duplicate builds under the same conditions.

Signed-off-by: Norio Nomura <[email protected]>
`actions/setup-go` configures the cache under the assumption that a single module will be built with one setup.

Signed-off-by: Norio Nomura <[email protected]>
Because macos-12 does not have `realpath`.

Signed-off-by: Norio Nomura <[email protected]>
to support job that does not use `go.mod` and `go.sum`

Signed-off-by: Norio Nomura <[email protected]>
to avoid linters detect from `.gomodcache`

Signed-off-by: Norio Nomura <[email protected]>
…ache-key`

and remove additional cache key from `gomodcache-key`

Signed-off-by: Norio Nomura <[email protected]>
…clude `go-version`

restoring cache from different go version seems not efficient.

Signed-off-by: Norio Nomura <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant