fix: using bazel version #11
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: CI Pipeline for Golang | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
bazel-build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Bazelisk | |
run: | | |
go install github.com/bazelbuild/bazelisk@latest | |
- name: Build with Bazel | |
run: | | |
bazelisk build //:quillpen | |
bazel-test: | |
needs: bazel-build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run Bazel Tests | |
run: | | |
bazelisk test //:quillpen |