Skip to content

Conversation

@mircearoata
Copy link
Member

@mircearoata mircearoata commented Jun 12, 2023

Deterministic resolving order

For the RefinedPower and RefinedRDLib with incompatible versions test, the error depends on the order in which the mods are added to the lockfile. However, ResolveModDependencies does not have a consistent order of the results, so the order in which mods are added was random, meaning reruning the test would sometimes pass and sometimes fail.

Pin golangci-lint version

Each minor version bump of golangci-lint can break a project's linting, as new rules might be added which the project does not yet follow. Pinning the version ensures that commits and pull requests do not fail linting on code they have not changed simply because a newer version of golangci-lint is used.
Pinned to v1.51 as v1.52 adds the revive unused-parameter rule, which the current code fails. Updating the code to pass that would result in merge conflicts with the other PRs, so it can be done later

@Vilsol Vilsol merged commit 23f9884 into master Jun 12, 2023
@Vilsol Vilsol deleted the ci-fixes branch December 6, 2023 23:50
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.

3 participants