Skip to content

Don't try to show bisonw-tray ver when not Windows. #401

Don't try to show bisonw-tray ver when not Windows.

Don't try to show bisonw-tray ver when not Windows. #401

Workflow file for this run

name: Build and Test
on: [push, pull_request]
permissions:
contents: read
jobs:
build:
name: Go CI
runs-on: ubuntu-latest
strategy:
matrix:
go: [1.18, 1.19]
steps:
- name: Set up Go
uses: actions/setup-go@84cbf8094393cdc5fe1fe1671ff2647332956b1a #v3.2.1
with:
go-version: ${{ matrix.go }}
- name: Check out source
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b #v3.0.2
- name: Install Linters
run: "curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.48.0"
- name: Build
run: go build ./...
- name: Lint
run: |
golangci-lint run --disable-all --deadline=10m --enable=gofmt --enable=govet --enable=gosimple --enable=unconvert --enable=ineffassign
- name: Test
run: go test -v ./...