| 1 |
name: Update dependencies |
| 2 |
on: |
| 3 |
schedule: |
| 4 |
- cron: '0 0 1 * *' |
| 5 |
workflow_dispatch: |
| 6 |
|
| 7 |
jobs: |
| 8 |
update: |
| 9 |
name: Update dependencies |
| 10 |
runs-on: ubuntu-latest |
| 11 |
if: github.repository == 'rust-lang/mdBook' |
| 12 |
steps: |
| 13 |
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 |
| 14 |
- name: Install Rust |
| 15 |
run: bash ci/install-rust.sh stable x86_64-unknown-linux-gnu |
| 16 |
- name: Install cargo-edit |
| 17 |
run: cargo install cargo-edit --locked |
| 18 |
- name: Update dependencies |
| 19 |
run: ci/update-dependencies.sh |
| 20 |
env: |
| 21 |
GH_TOKEN: ${{ github.token }} |