Add a runner for botan tls_client
#33
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 | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
stable: 'false' | |
go-version: '1.18.0-beta1' | |
- name: Build | |
working-directory: test-suites | |
run: go build -v ./... | |
- name: Test | |
working-directory: test-suites | |
run: | | |
if [[ -n "$(find . -name '*.go' | xargs gofmt -d)" ]]; then echo "gofmt check failed"; exit 1; fi | |
go vet ./... | |
go test -v ./... |