Skip to content

Bump goreleaser/goreleaser-action from 4.4.0 to 4.6.0 #464

Bump goreleaser/goreleaser-action from 4.4.0 to 4.6.0

Bump goreleaser/goreleaser-action from 4.4.0 to 4.6.0 #464

Workflow file for this run

name: run-go-tests
env:
GO111MODULE: on
on:
pull_request:
branches:
- "*"
push:
branches:
- "*"
jobs:
test:
strategy:
matrix:
go-version: [ 1.18.x ]
os: [ ubuntu-latest ]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: |
~/go/pkg/mod # Module download cache
~/.cache/go-build # Build cache (Linux)
~/Library/Caches/go-build # Build cache (Mac)
'%LocalAppData%\go-build' # Build cache (Windows)
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Run linter and tests
run: make test-ci
- name: Update code coverage
uses: codecov/codecov-action@v3.1.4
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: unittests
fail_ci_if_error: false # optional (default = false)
verbose: true # optional (default = false)