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

Commits on Oct 7, 2024

  1. test.yml: separate the job for building lima from the matrix test j…

    …obs to avoid duplicate builds under the same conditions.
    
    Signed-off-by: Norio Nomura <[email protected]>
    norio-nomura committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    ac79161 View commit details
    Browse the repository at this point in the history
  2. ci: avoid using default caching feature of actions/setup-go

    `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]>
    norio-nomura committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    85fa72a View commit details
    Browse the repository at this point in the history
  3. setup_go_with_cache: migrate from actions/setup-go

    Signed-off-by: Norio Nomura <[email protected]>
    norio-nomura committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    a076e6b View commit details
    Browse the repository at this point in the history
  4. setup_go_with_cache: change from realpath go.sum

    Because macos-12 does not have `realpath`.
    
    Signed-off-by: Norio Nomura <[email protected]>
    norio-nomura committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    20ff235 View commit details
    Browse the repository at this point in the history
  5. setup_go_with_cache: support windows

    Signed-off-by: Norio Nomura <[email protected]>
    norio-nomura committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    92dfa09 View commit details
    Browse the repository at this point in the history
  6. setup_go_with_cache: add additional-cache-key option to support var…

    …iation of build
    
    Signed-off-by: Norio Nomura <[email protected]>
    norio-nomura committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    83bbca6 View commit details
    Browse the repository at this point in the history
  7. setup_go_with_cache: add ignore-go-mod-and-go-sum option

    to support job that does not use `go.mod` and `go.sum`
    
    Signed-off-by: Norio Nomura <[email protected]>
    norio-nomura committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    b0a2df2 View commit details
    Browse the repository at this point in the history
  8. test.yml: stop using setup_go_with_cache on lints job

    to avoid linters detect from `.gomodcache`
    
    Signed-off-by: Norio Nomura <[email protected]>
    norio-nomura committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    92be5ca View commit details
    Browse the repository at this point in the history
  9. test.yml: use setup_go_with_cache on vmnet test

    Signed-off-by: Norio Nomura <[email protected]>
    norio-nomura committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    7ee0add View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    583334d View commit details
    Browse the repository at this point in the history
  11. setup_go_with_cache: change additional-cache-key to `additional-goc…

    …ache-key`
    
    and remove additional cache key from `gomodcache-key`
    
    Signed-off-by: Norio Nomura <[email protected]>
    norio-nomura committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    b130698 View commit details
    Browse the repository at this point in the history
  12. test.yml: try to unify caches on make and go test

    Signed-off-by: Norio Nomura <[email protected]>
    norio-nomura committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    c2a1041 View commit details
    Browse the repository at this point in the history
  13. setup_go_with_cache: change restore-keys for go build cache to in…

    …clude `go-version`
    
    restoring cache from different go version seems not efficient.
    
    Signed-off-by: Norio Nomura <[email protected]>
    norio-nomura committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    96d5f7a View commit details
    Browse the repository at this point in the history
  14. build_lima_and_fill_cache.yml: use architecture variation of artifact…

    …s target on make
    
    Signed-off-by: Norio Nomura <[email protected]>
    norio-nomura committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    5212030 View commit details
    Browse the repository at this point in the history