atlasexec: add version command (#15) #44
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: Go Continuous Integration | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
golangci-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: '1.20' | |
- name: Run Go linters | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
args: --verbose --timeout 15m | |
skip-pkg-cache: true | |
unit-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: '1.20' | |
- run: | | |
curl -sSf 'https://atlasgo.sh?test=1' | env ATLAS_DEBUG=true sh | |
- name: Run tests | |
run: go test -race ./... |