Skip to content

Commit

Permalink
Update go.yml
Browse files Browse the repository at this point in the history
Update versions and remove 'development' branch
  • Loading branch information
toddgaunt-gs authored Mar 7, 2024
1 parent 1920d8e commit 29f07b4
Showing 1 changed file with 23 additions and 3 deletions.
26 changes: 23 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ name: Go

on:
push:
branches: [ master, development ]
branches: [ master ]
pull_request:
branches: [ master, development ]
branches: [ master ]

jobs:

build-linux:

strategy:
matrix:
go-version: [1.13.x, 1.14.x, 1.15.x, 1.16.x]
go-version: [1.13.x, 1.14.x, 1.15.x, 1.16.x, 1.22.x]

runs-on: ubuntu-latest

Expand All @@ -39,6 +39,26 @@ jobs:
env:
GLOBALSIGN_EST_SKIP: tpm

- name: Lint
uses: golangci/golangci-lint-action@v2
with:
# Required: the version of golangci-lint is required and must be specified
# without patch version: we always use the latest patch version.
version: v1.46

# Optional: golangci-lint command line arguments.
# - SA1019 reports deprecated packages
args: --exclude SA1019

# Optional: if set to true then the action will use pre-installed Go.
skip-go-installation: true

# Optional: if set to true then the action don't cache or restore ~/go/pkg.
skip-pkg-cache: true

# Optional: if set to true then the action don't cache or restore ~/.cache/go-build.
skip-build-cache: true

build-macos:

strategy:
Expand Down

0 comments on commit 29f07b4

Please sign in to comment.