Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
aalexand authored Dec 3, 2023
2 parents 7917060 + ad67f76 commit c38f8fb
Showing 1 changed file with 11 additions and 32 deletions.
43 changes: 11 additions & 32 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,34 +18,15 @@ jobs:
strategy:
fail-fast: false
matrix:
go: ['1.19', '1.20', 'tip']
go: ['1.20', '1.21', 'tip']
# Supported macOS versions can be found in
# https://github.com/actions/virtual-environments#available-environments.
os: ['macos-11', 'macos-12']
# Supported Xcode versions for macOS 11 can be found in
# https://github.com/actions/virtual-environments/blob/main/images/macos/macos-11-Readme.md#xcode
# Supported Xcode versions for macOS 12 can be found in
# https://github.com/actions/virtual-environments/blob/main/images/macos/macos-12-Readme.md#xcode
xcode-version: ['14.2', '14.1', '14.0.1', '13.4.1', '13.3.1', '13.2.1', '13.1', '13.0', '12.5.1', '12.4', '11.7']
exclude:
- os: 'macos-11'
xcode-version: '13.3.1'
- os: 'macos-11'
xcode-version: '13.4.1'
- os: 'macos-11'
xcode-version: '14.0.1'
- os: 'macos-11'
xcode-version: '14.1'
- os: 'macos-11'
xcode-version: '14.2'
- os: 'macos-12'
xcode-version: '11.7'
- os: 'macos-12'
xcode-version: '12.4'
- os: 'macos-12'
xcode-version: '12.5.1'
- os: 'macos-12'
xcode-version: '13.0'
# TODO: Add macos-13. As of now there are build errors when installing graphviz.
os: ['macos-12']
# Supported Xcode versions can be found in:
# - https://github.com/actions/virtual-environments/blob/main/images/macos/macos-12-Readme.md#xcode
# - https://github.com/actions/virtual-environments/blob/main/images/macos/macos-13-Readme.md#xcode
xcode-version: ['14.2', '14.1', '14.0.1', '13.4.1', '13.3.1', '13.2.1', '13.1']
steps:
- name: Update Go version using setup-go
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
Expand Down Expand Up @@ -80,8 +61,7 @@ jobs:
brew install graphviz
# Do not let tools interfere with the main module's go.mod.
cd && go mod init tools
# TODO: Update to a specific version when https://github.com/dominikh/go-tools/issues/1362 is fixed.
go install honnef.co/go/tools/cmd/staticcheck@master
go install honnef.co/go/tools/cmd/[email protected]
go install github.com/golangci/golangci-lint/cmd/[email protected]
# Add PATH for installed tools.
echo "$GOPATH/bin:$PATH" >> $GITHUB_PATH
Expand All @@ -104,7 +84,7 @@ jobs:
strategy:
fail-fast: false
matrix:
go: ['1.19', '1.20', 'tip']
go: ['1.20', '1.21', 'tip']
os: ['ubuntu-22.04', 'ubuntu-20.04']
steps:
- name: Update Go version using setup-go
Expand Down Expand Up @@ -139,8 +119,7 @@ jobs:
sudo apt-get install graphviz
# Do not let tools interfere with the main module's go.mod.
cd && go mod init tools
# TODO: Update to a specific version when https://github.com/dominikh/go-tools/issues/1362 is fixed.
go install honnef.co/go/tools/cmd/staticcheck@master
go install honnef.co/go/tools/cmd/[email protected]
go install github.com/golangci/golangci-lint/cmd/[email protected]
# Add PATH for installed tools.
echo "$GOPATH/bin:$PATH" >> $GITHUB_PATH
Expand All @@ -160,7 +139,7 @@ jobs:
strategy:
fail-fast: false
matrix:
go: ['1.19', '1.20']
go: ['1.20', '1.21']
steps:
- name: Update Go version using setup-go
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
Expand Down

0 comments on commit c38f8fb

Please sign in to comment.