Merge pull request #54 from klueska/add-custom-config #159
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: Run tests | |
on: [ push, pull_request ] | |
permissions: | |
contents: read | |
jobs: | |
test: | |
strategy: | |
matrix: | |
version: ['1.22.2' ] | |
platform: [ ubuntu-latest, macos-latest ] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ matrix.version }} | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Update vendor modules | |
run: go mod vendor | |
- name: Build | |
run: make PREFIX=artifacts cmds | |
- name: List binaries | |
run: ls -al artifacts/ | |
# no tests yet | |
# - name: Test | |
# run: go test -v -race ./... |