Show addresses with nicknames #37
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: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.20' | |
- name: Build | |
run: go build -race -v ./... | |
- name: Test | |
run: | | |
# The test keys need to be 0600 to be loaded | |
chmod 0600 test/testdata/account-*.key | |
# Run tests | |
go test -race -v ./... | |
- name: "Staticcheck" | |
uses: dominikh/[email protected] | |
with: | |
version: "2023.1.3" |