[string] operator* #235
Workflow file for this run
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: build | |
on: push | |
jobs: | |
run-unit-tests: | |
strategy: | |
matrix: | |
os: | |
- windows-latest | |
- ubuntu-20.04 | |
- macos-latest | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Re | |
uses: osdeverr/actions-setup-re@v3 | |
with: | |
github-api-token: ${{ secrets.CI_RE_TOKEN }} | |
# Cache the output and cache directories so we don't have to suffer | |
- name: Cache build outputs | |
uses: actions/cache@v3 | |
with: | |
path: | | |
./out | |
./.re-cache | |
key: ${{ runner.os }}-re-build-${{ hashFiles('**/re.yml') }} | |
restore-keys: | | |
${{ runner.os }}-re-build- | |
# The run is split into two steps for cleaner output | |
- name: Build tests | |
uses: osdeverr/actions-build-re-target@v2 | |
with: | |
targets: .tests # Make sure we only build .tests and not anything else | |
- name: Run tests | |
uses: osdeverr/actions-run-re-target@v2 | |
with: | |
target: .tests |