name: Update the Fastcrypto pointer Sui on: ## Allow triggering this workflow manually via GitHub CLI/web workflow_dispatch: schedule: # Update on every hour at 10 past the hour - cron: '10 * * * *' jobs: update-dep: runs-on: ubuntu-latest # Important settings as we don't want to open a PR when the update fails continue-on-error: false strategy: fail-fast: true steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # Pin v4.1.1 - uses: bmwill/rust-cache@v1 # Fork of 'Swatinem/rust-cache' which allows caching additional paths - name: Install cargo-hakari, and cache the binary uses: baptiste0928/cargo-install@1cd874a5478fdca35d868ccc74640c5aabbb8f1b # pin@v3.0.0 with: crate: cargo-hakari locked: true - name: Update the Narwhal pointer run: | scripts/update_fastcrypto.sh - name: Create Pull Request uses: peter-evans/create-pull-request@v5 with: # TODO: change the token to something FC-specific? token: ${{ secrets.NW_AUTO_UPDATE }} commit-message: chore(deps) Update the Fastcrypto pointer title: chore(deps) Update the Fastcrypto pointer body: | - Update Fastcrypto Auto-generated by [create-pull-request][1] and the scripts/update_fastcrypto.sh script [1]: https://github.com/peter-evans/create-pull-request branch: update-fastcrypto