Skip to content

Bump github.com/rs/zerolog from 1.29.0 to 1.31.0 #122

Bump github.com/rs/zerolog from 1.29.0 to 1.31.0

Bump github.com/rs/zerolog from 1.29.0 to 1.31.0 #122

Workflow file for this run

name: Go
on:
push:
tags:
- '*'
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
golangci:
strategy:
matrix:
go-version: [1.18.x,1.19.x]
os: [macos-latest,ubuntu-latest]
name: lint
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: latest
build:
strategy:
matrix:
go-version: [ 1.18.x,1.19.x ]
os: [ macos-latest, ubuntu-latest ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Set up Go ${{ matrix.go-version }}
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Tests
run: make run-unit-tests
- name: Build
run: go build -v ./...
release:
if: startsWith(github.ref, 'refs/tags/')
needs: [golangci,build]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.19
- name: release
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}