Update CI #49
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: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Go environment | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.21 | |
- name: Tests | |
run: go test -v -count=1 -race ./... | |
# Run functional tests and | |
#- name: Run a multi-line script | |
# run: | | |
# echo Add other actions to build, | |
# echo test, and deploy your project. |