Skip to content

Commit

Permalink
Merge pull request #44 from Kava-Labs/yevhenii/gomod2nix
Browse files Browse the repository at this point in the history
Fix gomod2nix CI job
  • Loading branch information
evgeniy-scherbina authored Apr 10, 2024
2 parents 5dc8bab + ad81795 commit 5aefcae
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,13 @@ jobs:
name: Check gomod2nix.toml file is up to date
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: cachix/install-nix-action@v18
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v26
with:
nix_path: nixpkgs=channel:nixos-23.11
- uses: cachix/cachix-action@v14
with:
name: crypto-ethermint
- uses: technote-space/[email protected]
with:
PATTERNS: |
Expand All @@ -79,4 +84,5 @@ jobs:
run: |
nix run -f ./nix gomod2nix
git diff --no-ext-diff --exit-code
if: env.GIT_DIFF
# Run gomod2nix job every time, until we're sure it's stable
# if: env.GIT_DIFF
2 changes: 1 addition & 1 deletion gomod2nix.toml
Original file line number Diff line number Diff line change
Expand Up @@ -627,4 +627,4 @@ schema = 3
hash = "sha256-sVQY9EQ9Y5blYyVYfaOa+y12e+399OqdHiEY3BaDnqo="
[mod."sigs.k8s.io/yaml"]
version = "v1.4.0"
hash = "sha256-Hd/M0vIfIVobDd87eb58p1HyVOjYWNlGq2bRXfmtVno="
hash = "sha256-Hd/M0vIfIVobDd87eb58p1HyVOjYWNlGq2bRXfmtVno="
6 changes: 3 additions & 3 deletions nix/sources.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
"homepage": null,
"owner": "tweag",
"repo": "gomod2nix",
"rev": "40d32f82fc60d66402eb0972e6e368aeab3faf58",
"sha256": "0li17ynbg2wg0xqy655m5rmcw905sbv7d4ir35z7s5pg1yhhzxkp",
"rev": "30e3c3a9ec4ac8453282ca7f67fca9e1da12c3e6",
"sha256": "1m0q0p1xidsp61xfrbj8ld1dqk3fhyrfifxj2ks36yjbnzmi1x69",
"type": "tarball",
"url": "https://github.com/tweag/gomod2nix/archive/40d32f82fc60d66402eb0972e6e368aeab3faf58.tar.gz",
"url": "https://github.com/tweag/gomod2nix/archive/30e3c3a9ec4ac8453282ca7f67fca9e1da12c3e6.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"niv": {
Expand Down

0 comments on commit 5aefcae

Please sign in to comment.