Skip to content

Update: Add golang v1.21 to build #39

Update: Add golang v1.21 to build

Update: Add golang v1.21 to build #39

Workflow file for this run

name: build-go
on:
push:
branches:
- master
pull_request:
defaults:
run:
shell: bash
env:
GO111MODULE: on
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
go:
- "1.20"
- "1.21"
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
cache: true
- name: setup
run: |
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
- name: build
run: |
make
- uses: PaloAltoNetworks/[email protected]
with:
main_branch: master
cov_file: unit_coverage.out
cov_threshold: "85"
cov_mode: coverage