Skip to content

Commit

Permalink
TEST
Browse files Browse the repository at this point in the history
  • Loading branch information
gavv committed Oct 1, 2023
1 parent 997969f commit 6a42245
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: build

on:
workflow_dispatch:

pull_request:
branches:
- master
Expand All @@ -17,10 +18,11 @@ jobs:
build:
strategy:
matrix:
go: [1.x]
go: [1.18, 1.x]
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
name: Go ${{ matrix.go }} ${{ matrix.os }}

runs-on: ${{ matrix.os }}
name: Go ${{ matrix.go }} ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -40,18 +42,18 @@ jobs:
examples:
strategy:
matrix:
go: [1.x]
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
name: Examples ${{ matrix.go }} ${{ matrix.os }}

runs-on: ${{ matrix.os }}
name: Examples ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Install Go
uses: actions/setup-go@v4.0.1
with:
go-version: ${{ matrix.go }}
go-version: 1.x
cache: true

- name: Build
Expand Down Expand Up @@ -118,6 +120,7 @@ jobs:
with:
version: v1.51.2
working-directory: ${{ matrix.dir }}
skip-pkg-cache: true

coverage:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 6a42245

Please sign in to comment.