chore(deps): update cachix/install-nix-action action to v27 #394
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
################################################################################# | |
# Pipeline used to update project dependences | |
################################################################################# | |
name: Dependencies | |
env: | |
RUST_BACKTRACE: "1" | |
on: | |
push: | |
branches: ['renovate/**'] | |
jobs: | |
cargo-update: | |
runs-on: self-hosted-hoprnet-small | |
timeout-minutes: 60 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Configure Git info | |
run: ./scripts/configure-git-info.sh | |
- name: Install Nix | |
uses: cachix/install-nix-action@v27 | |
with: | |
github_access_token: ${{ secrets.GITHUB_TOKEN }} | |
- uses: cachix/cachix-action@v14 | |
if: ${{ !env.ACT }} | |
with: | |
name: hoprnet | |
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | |
env: | |
USER: runner | |
- name: Update vendored cargo dependencies | |
run: | | |
mkdir -p ethereum/bindings/src/ | |
touch ethereum/bindings/src/lib.rs | |
nix develop -c make cargo-download | |
nix develop -c make cargo-update | |
- name: Commit changes | |
# only commit changes when not running via act | |
if: ${{ !env.ACT }} | |
run: ./scripts/commit-and-push-all-changes.sh | |
env: | |
HOPR_GIT_MSG: 'chore(cargo): updated vendored dependencies' | |
HOPR_GITHUB_REF: ${{ github.ref }} |