README version 0.1 #52
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 | |
on: | |
push: | |
branches: | |
- master | |
- main # If we want to switch to main as default branch | |
pull_request: | |
branches: | |
- master | |
- main # If we want to switch to main as default branch | |
jobs: | |
ci: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
go: [ '1.20', '1.21' ] | |
os: [ ubuntu-latest, windows-latest, macos-latest ] | |
name: CI - Go ${{ matrix.go }} - ${{ matrix.os }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Setup Golang | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ matrix.go }} | |
- run: make deps | |
- run: make lint | |
- run: make test | |
- run: make build |