allow the use of files and file hex when creating signatures (#19) #71
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: Build | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version-file: "go.mod" | |
- run: go version | |
- run: go build -v ./... | |
- run: go test -v ./... | |
- run: go vet ./... # reports suspicious constructs | |
- run: go mod verify # checks dependencies against the local module cache | |
- id: govulncheck # reports known vulnerabilities | |
uses: golang/govulncheck-action@v1 | |
with: | |
go-version-file: go.mod | |
go-package: ./... | |
- name: Install Cypress | |
run: npm install [email protected] | |
- name: Run Cypress tests | |
uses: cypress-io/github-action@v6 | |
with: | |
start: go run . | |
cache-key: somevalue | |
wait-on: 'http://localhost:8080' | |
install: false | |
env: | |
CYPRESS_CRASH_REPORTS: 0 | |
CYPRESS_COMMERCIAL_RECOMMENDATIONS: 0 |