Refactor readme using template #62
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: Main | |
on: [push, pull_request] | |
jobs: | |
go-tests: | |
runs-on: self-hosted | |
container: | |
image: golang:1.22.2 | |
defaults: | |
run: | |
shell: bash | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Go test | |
run: | | |
# we run vet in another step | |
go test -vet=off -timeout=1m ./... | |
# -race can easily make the crypto stuff 10x slower | |
go test -vet=off -timeout=15m -race -covermode atomic -coverprofile=covprofile ./... | |