Skip to content

Bump github.com/goreleaser/goreleaser from 1.19.2 to 1.20.0 in /tools #758

Bump github.com/goreleaser/goreleaser from 1.19.2 to 1.20.0 in /tools

Bump github.com/goreleaser/goreleaser from 1.19.2 to 1.20.0 in /tools #758

Workflow file for this run

name: build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
ci:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: Build
run: make ci
- name: Upload coverage
uses: actions/upload-artifact@v3
with:
name: coverage-${{ matrix.os }}
path: coverage.*
- run: goreleaser release --rm-dist --snapshot
if: ${{ runner.os == 'Linux' }}
- name: Upload dist
uses: actions/upload-artifact@v3
with:
name: dist-${{ matrix.os }}
path: dist
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
file: ./coverage.out
flags: ${{ runner.os }}