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

Align worktree validation with upstream and remove build warnings #958

Merged
merged 2 commits into from
Dec 8, 2023

Commits on Dec 8, 2023

  1. git: worktree, Align validation with upstream rules

    Some worktree validation rules observed upstream are not checked
    by go-git, leading to scenarios in which what seems to be a valid
    repository for go-git is not necessarily the case for the git cli.
    
    Signed-off-by: Paulo Gomes <paulo.gomes@suse.com>
    pjbgf committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    b2c1982 View commit details
    Browse the repository at this point in the history
  2. build: Ensure checkout is the first operation

    The setup-go step can be sped up by caching Go dependencies. The
    input for that operation is the go.sum file. Previously, the
    checkout operation was happening after the setup-go, which meant
    that go.sum was never available which effectively meant the cache
    was disabled.
    
    Signed-off-by: Paulo Gomes <paulo.gomes@suse.com>
    pjbgf committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    5bd1d8f View commit details
    Browse the repository at this point in the history