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

ci: Migrate to paths-filter #139

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

AndreMiras
Copy link

Description

The technote-space/get-diff-action repo is no longer maintained and archived. Last commit was 2 years ago.
On the other hand dorny/paths-filter is actively maintained, last commit was 6 months ago and has far more stars 2100 vs 190 for get-diff-action. Last but not least paths-filter would better handle push force scenario.

Also bump actions versions to keep the CI up to date.

Author Checklist

All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.

I have...

  • targeted the correct branch (see PR Targeting)
  • provided a link to the relevant issue or specification
  • included the necessary unit and integration tests
  • reviewed "Files changed" and left comments if necessary

Reviewers Checklist

All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.

I have...

  • confirmed all author checklist items have been addressed
  • reviewed state machine logic
  • reviewed API design and naming
  • reviewed documentation is accurate
  • reviewed tests and test coverage
  • manually tested (if applicable)

The technote-space/get-diff-action repo is no longer maintained and
archived. Last commit was 2 years ago.
On the other hand dorny/paths-filter is actively maintained, last commit
was 6 months ago and has far more stars 2100 vs 190 for get-diff-action.
Last but not least paths-filter would better handle push force scenario.

Also bump actions versions to keep the CI up to date.
AndreMiras added a commit to AndreMiras/Canto that referenced this pull request Aug 27, 2024
Make static builds and upload them as artifacts.
This makes it possible to download the binary produced for each PR.
In a follow up PR we could also automate binary upload upon release
as well as enabling cross compilation for different arch and OS.

Note that we use musl-gcc as it allows to statically link a libc
implementation while CGO_ENABLED=0 only was leading to the error below:
```
[email protected]/app/ante/eip712.go:293:36: undefined: secp256k1.RecoverPubkey
[email protected]/app/ante/eip712.go:319:17: undefined: secp256k1.VerifySignature
```
The statically linked binary is 100M as of today.

Also drop get-diff-action as it's unmaintained and was misbehaving on
the rebasing and squashing workflow, refs Canto-Network#139
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