1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
name: Test on: [push] jobs: test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions/cache@v2 with: path: | ~/.cargo/registry ~/.cargo/git target key: cargo--${{ hashFiles('**/Cargo.lock') }} - name: test run: cargo test