Skip to content

Bump actions/checkout from 4.1.6 to 4.1.7 #2592

Bump actions/checkout from 4.1.6 to 4.1.7

Bump actions/checkout from 4.1.6 to 4.1.7 #2592

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@692973e3d937129bcbf40652eb9f2f61becf3332
- name: Set up Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7
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@65462800fd760344b1a7b4382951275a0abb4808
with:
name: mlr-${{matrix.os}}
path: bin/${{matrix.os}}/*