diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ae5ff14..31183e8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,8 +6,6 @@ jobs: matrix: go-version: [1.15.x, 1.14.x, 1.13.x, 1.12.x, 1.11.x] os: [ubuntu-latest, macos-latest, windows-latest] - goos: ["linux", "darwin", "windows"] - goarch: ["amd64"] runs-on: ${{ matrix.os }} steps: - name: Install Go @@ -20,8 +18,9 @@ jobs: fetch-depth: 0 - name: Test run: go test -race -v ./... - - name: Build - env: - GOOS: ${{ matrix.goos }} - GOARCH: ${{ matrix.goarch }} + - name: Build lib run: go build + - name: Build cmd + run: go build + working-directory: ./cmd/gotail +