Skip to content

Bump goreleaser/goreleaser-action from 4.3.0 to 4.4.0 #2166

Bump goreleaser/goreleaser-action from 4.3.0 to 4.4.0

Bump goreleaser/goreleaser-action from 4.3.0 to 4.4.0 #2166

Workflow file for this run

name: Miller-Go
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
- name: Set up Go
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe
with:
go-version: 1.18
- name: Build
run: make build
- name: Test
run: make check
- name: Regression tests
# We run these with a convoluted path to ensure the tests don't
# rely on a specific invocation
run: test/../mlr regtest -S
- name: PrepareArtifactNonWindows
if: matrix.os != 'windows-latest'
run: mkdir -p bin/${{matrix.os}} && cp mlr bin/${{matrix.os}}
- name: PrepareArtifactWindows
if: matrix.os == 'windows-latest'
run: mkdir -p bin/${{matrix.os}} && cp mlr.exe bin/${{matrix.os}}
- uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce
with:
name: mlr-${{matrix.os}}
path: bin/${{matrix.os}}/*