Merge pull request #4 from caylorme/namespaces #7
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: build | |
on: | |
pull_request: | |
push: | |
jobs: | |
golangci: | |
runs-on: ubuntu-latest | |
name: Run golangci-lint | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup go | |
uses: actions/setup-go@v3 | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v3 | |
gofmt: | |
runs-on: ubuntu-latest | |
name: Run gofmt | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup go | |
uses: actions/setup-go@v3 | |
- name: gofmt | |
run: make check | |
build: | |
runs-on: ubuntu-latest | |
name: Build project | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup go | |
uses: actions/setup-go@v3 | |
- name: build | |
run: make build |