blob: 32618b05d8786a019821f90e8494da5255e32a27 [file] [log] [blame]
name: Run CI Tests
on: [push]
jobs:
run-lint:
runs-on: [macos-latest]
steps:
- uses: actions/checkout@v3
- uses: hashicorp/setup-golang@v1
with:
version-file: go.mod
- name: GolangCI-Lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.50
skip-cache: true
run-tests:
strategy:
fail-fast: false
matrix:
os:
- macos-13
- macos-12
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v3
- uses: hashicorp/setup-golang@v1
with:
version-file: go.mod
- name: Run Go Test
run: |
make vet
make test