Bump go.uber.org/zap from 1.21.0 to 1.26.0 #47
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 Test" | |
on: [ push,pull_request ] | |
jobs: | |
build_test: | |
name: Build Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go 1.x | |
uses: actions/setup-go@v2 | |
with: | |
go-version: "1.16" | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Format | |
run: if [ "$(gofmt -l . | wc -l)" -gt 0 ]; then exit 1; fi | |
- name: Build | |
run: make build | |
- name: Git Diff | |
run: if [ "$(git diff | wc -l)" -gt 0 ]; then exit 1; fi |