298 fix build of version 0.9.5 #726
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: tests | |
on: | |
pull_request: | |
types: [ opened, synchronize, reopened, ready_for_review ] | |
push: | |
branches: [ master ] | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checks-out repository | |
uses: actions/checkout@v2 | |
- name: Install latest nightly | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: nightly | |
default: true | |
- name: Set env variable | |
run: | | |
export PEARL_COMMIT_HASH=$(echo ${GITHUB_SHA} | cut -c1-8) | |
- name: Tests | |
uses: actions-rs/cargo@v1 | |
with: | |
command: test |