Skip to content

Bump actions/cache from 4.0.2 to 4.1.0 (#1683) #2729

Bump actions/cache from 4.0.2 to 4.1.0 (#1683)

Bump actions/cache from 4.0.2 to 4.1.0 (#1683) #2729

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@d632683dd7b4114ad314bca15554477dd762a938
- name: Set up Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32
with:
go-version: 1.19
- 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@50769540e7f4bd5e21e526ee35c689e35e0d6874
with:
name: mlr-${{matrix.os}}
path: bin/${{matrix.os}}/*