feat(RDGRS-662): test CI only on linux #70
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
on: [push, pull_request] | |
name: CI | |
jobs: | |
# ================ | |
# TEST JOB | |
# runs on every push and PR | |
# runs 2x3 times (see matrix) | |
# ================ | |
test: | |
name: Test | |
strategy: | |
matrix: | |
go-version: [1.21.x] | |
platform: [ubuntu-latest] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Build | |
run: go build -v -o /dev/null . | |
- name: Test | |
run: go test -v ./... |