Update rust-toolchain #9
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
name: Update rust-toolchain | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "30 3 * * 1" # 3:30 on Monday | |
jobs: | |
update-rust-toolchain: | |
name: Update Rust toolchain | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 | |
- name: Install Updatecli in the runner | |
uses: updatecli/updatecli-action@6b8881a17fc8038e884ec94ff72a49e8e8a4069f # v2.67.0 | |
- name: Update rust version inside of rust-toolchain file | |
id: update_rust_toolchain | |
env: | |
UPDATECLI_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
UPDATECLI_GITHUB_OWNER: ${{ github.repository_owner }} | |
run: |- | |
updatecli apply --config ./updatecli/updatecli.d/update-rust-toolchain.yaml \ | |
--values updatecli/values.yaml |