Merge pull request #50 from pavlo-v-chernykh/simplify-readme-structure #79
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: GitHub Actions Workflow | |
on: [push] | |
jobs: | |
fmt: | |
name: Fmt | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v2 | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: '1.17.10' | |
- name: Fmt | |
run: go fmt github.com/pavlo-v-chernykh/keystore-go/v4/... | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v2 | |
- name: Lint | |
uses: golangci/[email protected] | |
with: | |
args: --timeout=5m0s -c .golangci.yaml | |
version: v1.54.2 | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v2 | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: '1.17.10' | |
- name: Test | |
run: go test -cover -count=1 -v github.com/pavlo-v-chernykh/keystore-go/v4/... |