let there be ci #1
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: test | |
on: [pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest-16-cores | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup rust env | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
components: llvm-tools-preview | |
override: true | |
- name: Retrieve cached dependencies | |
uses: Swatinem/rust-cache@v2 | |
# fetch dump | |
- name: Check resources evolution | |
run: GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} make fetch-dump | |
# run tests | |
- name: run tests | |
run: cargo test | |