mirror of
https://github.com/johnkerl/miller.git
synced 2026-07-17 16:38:54 +00:00
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 6.5.0 to 7.0.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](924ae3a1cd...b7ad1dad31)
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-version: 7.0.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
47 lines
1.1 KiB
YAML
47 lines
1.1 KiB
YAML
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@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0
|
|
|
|
- name: Set up Go
|
|
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e
|
|
with:
|
|
go-version: 1.25
|
|
|
|
- name: Build
|
|
run: make build
|
|
|
|
- name: Unit tests
|
|
run: make unit-test
|
|
|
|
- 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@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a
|
|
with:
|
|
name: mlr-${{matrix.os}}
|
|
path: bin/${{matrix.os}}/*
|