Skip to content

Adjusting comments #11794

Adjusting comments

Adjusting comments #11794

Workflow file for this run

name: Update nix hashes
on:
push:
branches-ignore:
- master
tags-ignore:
- '**'
jobs:
update-hash:
if: github.actor != 'dependabot[bot]'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
# This is needed to be able to push and trigger CI with that push
token: ${{ secrets.NIV_UPDATER_TOKEN }}
- uses: cachix/install-nix-action@v30
with:
nix_path: nixpkgs=channel:nixos-22.11
- uses: cachix/cachix-action@v15
with:
name: ic-hs-test
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: Update drun cargo hash
run: |
cd nix
nix shell -f . nix-update -c nix-update --version=skip drun
- name: Update ic-wasm cargo hash
run: |
nix shell -f default.nix nix-update -c nix-update --version=skip ic-wasm
- name: Commit changes
uses: EndBug/[email protected]
with:
default_author: github_actions
author_name: Nix hash updater
github_token: ${{ secrets.NIV_UPDATER_TOKEN }}
committer_name: GitHub Actions
committer_email: [email protected]
message: "Updating nix hashes"