Skip to content

Bump go.uber.org/zap from 1.21.0 to 1.25.0 #105

Bump go.uber.org/zap from 1.21.0 to 1.25.0

Bump go.uber.org/zap from 1.21.0 to 1.25.0 #105

Workflow file for this run

name: Run tests and build in branch
on:
push:
branches:
- '*'
- '!main'
pull_request:
branches:
- main
jobs:
test:
name: Build latest
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.17
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: latest
args: --timeout=30m
- name: Test
run: go test -v ./...
- name: Build
run: go build -v .
- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/golang@master
continue-on-error: true
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
args: --sarif-file-output=snyk.sarif