Skip to content

Bump the cargo-dependencies group with 5 updates #3

Bump the cargo-dependencies group with 5 updates

Bump the cargo-dependencies group with 5 updates #3

name: Update nix hashes
on:
pull_request:
branches: [master, main]
concurrency:
group: update-nix-hashes-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: write
env:
GIT_AUTHOR_NAME: github-actions[bot]
GIT_AUTHOR_EMAIL: 41898282+github-actions[bot]@users.noreply.github.com
GIT_COMMITTER_NAME: github-actions[bot]
GIT_COMMITTER_EMAIL: 41898282+github-actions[bot]@users.noreply.github.com
jobs:
update_nix_hashes:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- run: nix run --no-write-lock-file --print-build-logs ./.github#update-nix-hashes -- default package-lock.json
- run: git diff && git add -v .
- run: nix build --print-build-logs .
- run: "git commit -m 'nix: update hashes' || true"
- run: git push origin