Skip to content

Merge pull request #388 from SiaFoundation/nate/bump-upload-artifact #909

Merge pull request #388 from SiaFoundation/nate/bump-upload-artifact

Merge pull request #388 from SiaFoundation/nate/bump-upload-artifact #909

Workflow file for this run

name: Main
on:
workflow_dispatch:
pull_request:
push:
branches:
- master
jobs:
test:
runs-on: ${{ matrix.os }}
permissions:
contents: read
strategy:
matrix:
os: [ ubuntu-latest , macos-latest, windows-latest ]
go-version: [ '1.21', '1.22' ]
steps:
- name: Configure git
run: git config --global core.autocrlf false # required on Windows
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Test
uses: ./.github/actions/test
- name: Build
env:
CGO_ENABLED: 1
run: go build -o bin/ ./cmd/hostd