summaryrefslogtreecommitdiffstats
path: root/.github/workflows/update-rust-toolchain.yml
blob: 0fcb366284ad9c18bf0fd4e9b30f8435cfba9f68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
name: update-rust-toolchain
on:
  workflow_dispatch: # allows manual triggering
  schedule:
    - cron: '0 0 1 * *' # runs on the first of every month at 00:00

jobs:
  update-rust-toolchain:
    name: "Update rust-toolchain"
    runs-on: ubuntu-latest
    timeout-minutes: 5
    steps:
      - name: Checkout repository
        uses: actions/checkout@v3
      - name: update rust toolchain
        id: urt
        uses: a-kenji/update-rust-toolchain@v1.1
        with:
          minor-version-delta: 2
          toolchain-path: './rust-toolchain.toml'
          token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
          pr-labels: |
            dependencies
            automated
            rust