Skip to content

improve: Add external server checker #63

improve: Add external server checker

improve: Add external server checker #63

Workflow file for this run

name: Go
on:
push:
branches:
- master
pull_request:
types: [opened, synchronize]
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
go: ['1.18.x', '1.19.x']
runs-on: ${{ matrix.os }}
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: Check out code into the Go module directory
uses: actions/checkout@v4
with:
path: src/github.com/ikawaha/httpcheck
- name: Build
run: go build -v ./...
working-directory: src/github.com/ikawaha/httpcheck
- name: Test
run: |
go test -v ./...
working-directory: src/github.com/ikawaha/httpcheck