Skip to content

Update workflows and goreleaser #3293

Update workflows and goreleaser

Update workflows and goreleaser #3293

Workflow file for this run

name: Test HORNET
on:
push:
branches:
- legacy
pull_request:
paths-ignore:
- 'documentation/**'
- 'nfpm/**'
- 'private_tangle/**'
- 'scripts/**'
- 'tools/**'
jobs:
test:
name: Test HORNET
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: "1.20"
id: go
- name: Print Go version
run: go version
- name: Install Build Essential
run: sudo apt update && sudo apt install build-essential -y
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Test HORNET
uses: nick-invision/retry@v2
with:
timeout_minutes: 5
max_attempts: 3
command: go test `go list ./... | grep -v -e integration-tests | grep -v whiteflag`