name: Build

on:
  push:
    branches:
    - master
  pull_request:
jobs:
  lint:
    uses: mackerelio/workflows/.github/workflows/go-lint.yml@v1.5.0
  test:
    uses: mackerelio/workflows/.github/workflows/go-test.yml@v1.5.0
  testrun:
    uses: mackerelio/workflows/.github/workflows/setup-go-matrix.yml@v1.5.0
    with:
      run: go run ./cmd/osstat
