Indexer #215
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: Indexer | |
on: | |
schedule: | |
- cron: '* 0 * * SUN' | |
jobs: | |
libstd: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
- uses: ./.github/actions/build-rustc/ | |
- uses: actions-rs/cargo@v1 | |
with: | |
command: install | |
args: --path indexer | |
- name: Index libstd crates | |
run: indexer-libstd | |
working-directory: rust | |
- run: | | |
rm -rf rust | |
git pull origin ${{ github.ref }} | |
- uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: "libstd: Weekly update" | |
rustc: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
- uses: ./.github/actions/build-rustc/ | |
- uses: actions-rs/cargo@v1 | |
with: | |
command: install | |
args: --path indexer | |
- name: Index rustc crates | |
run: indexer-rustc | |
working-directory: rust | |
- run: | | |
rm -rf rust | |
git pull origin ${{ github.ref }} | |
- uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: "rustc: Weekly update" | |
crates: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: nightly | |
- uses: actions-rs/cargo@v1 | |
with: | |
command: install | |
args: --path indexer | |
- name: Index third-party crates | |
run: indexer-crates | |
- run: git pull origin ${{ github.ref }} | |
- uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: "crates: Weekly update" | |