mirror of
https://github.com/johnkerl/miller.git
synced 2026-01-23 02:14:13 +00:00
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 5.0.0 to 6.0.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](330a01c490...b7c566a772)
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-version: 6.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@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3
|
|
|
|
- name: Set up Go
|
|
uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c
|
|
with:
|
|
go-version: 1.24
|
|
|
|
- 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@b7c566a772e6b6bfb58ed0dc250532a479d7789f
|
|
with:
|
|
name: mlr-${{matrix.os}}
|
|
path: bin/${{matrix.os}}/*
|