Skip to content

Commit

Permalink
Add gomod2nix generate to flake update
Browse files Browse the repository at this point in the history
  • Loading branch information
storvik authored Jan 6, 2024
1 parent c7481d6 commit 82c01c6
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/flake-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,16 @@ jobs:
createPullRequest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: nixbuild/nix-quick-install-action@v22
- name: Checkout repo
uses: actions/checkout@v4
- name: Install nix
uses: nixbuild/nix-quick-install-action@v22
with:
nix_conf: experimental-features = nix-command flakes
- name: Run gomod2nix generate
run: |
nix develop --command \
gomod2nix generate
- name: Update flake.lock
uses: DeterminateSystems/update-flake-lock@v20
with:
Expand Down

0 comments on commit 82c01c6

Please sign in to comment.