Skip to content

dcrdtest: Use latest main dcrd release module. #80

dcrdtest: Use latest main dcrd release module.

dcrdtest: Use latest main dcrd release module. #80

Workflow file for this run

name: Build and Test
on: [push, pull_request]
permissions:
contents: read
jobs:
build:
name: Go CI
strategy:
matrix:
go: ["1.21", "1.22"]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
# Prepare env.
- name: Set up Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 #v5.0.1
with:
go-version: ${{ matrix.go }}
- name: Install Linters
run: "curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.58.1"
shell: bash
- name: Set git config to please linters
run: |
git config --global core.autocrlf false
git config --global core.eol lf
# Test repository.
- name: Check out source
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b #v4.1.4
- name: Test
run: sh ./run_tests.sh