Skip to content

[test] New: added testing workflow (#1) #8

[test] New: added testing workflow (#1)

[test] New: added testing workflow (#1) #8

Workflow file for this run

name: Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
tests:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
# Caches and restores the bazelisk download directory, the bazel build directory.
- name: Cache bazel
uses: actions/cache@v2
with:
path: |
~/.cache/bazelisk
~/.cache/bazel
key: ${{ runner.os }}-bazel-cache
- uses: actions/checkout@v2
- name: help
run: bazel run @rules_endorctl_toolchains//:endorctl -- --help