Bump actions/upload-artifact from 4.4.3 to 4.5.0 (#1732) #2827
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- name: Set up Go | |
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a | |
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@6f51ac03b9356f520e9adb1b1b7802705f340c2b | |
with: | |
name: mlr-${{matrix.os}} | |
path: bin/${{matrix.os}}/* |