Skip to content

miner: Support BLAKE3 mining. #593

miner: Support BLAKE3 mining.

miner: Support BLAKE3 mining. #593

Workflow file for this run

name: Build and Test
on: [push, pull_request]
permissions:
contents: read
jobs:
build:
name: Go CI
runs-on: ubuntu-latest
strategy:
matrix:
go: ['1.19', '1.20']
services:
postgres:
image: postgres:15.0
env:
POSTGRES_USER: dcrpooluser
POSTGRES_PASSWORD: 12345
POSTGRES_DB: dcrpooltestdb
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
steps:
- name: Set up Go
uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 #v4.0.1
with:
go-version: ${{ matrix.go }}
- name: Check out source
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 #v3.5.3
- name: Install Linters
run: "curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.53.3"
- name: Build
run: go build ./...
- name: Test
run: |
./run_tests.sh