Minor update in recreate_bugs.py #237
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: Validate PoC | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 2 | |
- name: Cache toolchain | |
uses: actions/cache@v2 | |
env: | |
cache-name: cache-rust-toolchain | |
with: | |
path: ~/.rustup/toolchains | |
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('ci/setup_toolchains.sh') }} | |
restore-keys: | | |
${{ runner.os }}-build-${{ env.cache-name }}- | |
${{ runner.os }}-build- | |
${{ runner.os }}- | |
- name: Setup toolchains | |
run: ci/setup_toolchains.sh | |
- name: Cache rudra-poc-cli | |
uses: actions/cache@v2 | |
env: | |
cache-name: cache-rudra-poc-cli | |
with: | |
path: cli | |
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('cli/Cargo.toml', 'cli/Cargo.lock', 'cli/**/*.rs') }} | |
- name: Build cli | |
run: 'test -f cli/target/release/rudra-poc || ci/build_cli.sh' | |
- name: Test new PoCs | |
run: ./test_all_poc.py |