Skip to content

dependency updates

dependency updates #18

Workflow file for this run

name: Build
on:
push:
branches: [ "master" ]
tags-ignore:
- '**'
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21'
- name: Go get
run: go get .
- name: Build Linux
if: runner.os == 'Linux'
run: go build -v -o dhtc-linux dhtc
- name: Build macOS
if: runner.os == 'macOS'
run: go build -v -o dhtc-macos dhtc
- name: Build Windows
if: runner.os == 'Windows'
run: go build -v -o dhtc-windows.exe dhtc