Update rust-toolchain #18
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@704a64517239e0993c5e3bf6749a063b8f950d9f # v2.70.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 |