Merge branch 'trunk' into feature-macos-pkg-installer

This commit is contained in:
Paul 2023-09-04 12:59:46 +02:00 committed by GitHub
commit 53c83fdd82
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
159 changed files with 7230 additions and 3250 deletions

View file

@ -1,6 +1,6 @@
name: Deployment
concurrency:
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true
@ -17,7 +17,7 @@ on:
default: production
type: environment
go_version:
default: "1.19"
default: "1.21"
type: string
platforms:
default: "linux,macos,windows"
@ -61,7 +61,7 @@ jobs:
dist/*.tar.gz
dist/*.rpm
dist/*.deb
macos:
runs-on: macos-latest
environment: ${{ inputs.environment }}
@ -132,7 +132,7 @@ jobs:
dist/*.tar.gz
dist/*.zip
dist/*.pkg
windows:
runs-on: windows-latest
environment: ${{ inputs.environment }}
@ -354,6 +354,7 @@ jobs:
if: inputs.environment == 'production' && !contains(inputs.tag_name, '-')
with:
formula-name: gh
formula-path: Formula/g/gh.rb
tag-name: ${{ inputs.tag_name }}
push-to: cli/homebrew-core
env:

View file

@ -13,10 +13,10 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Set up Go 1.19
- name: Set up Go 1.21
uses: actions/setup-go@v4
with:
go-version: 1.19
go-version: 1.21
- name: Check out code
uses: actions/checkout@v3

View file

@ -19,10 +19,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.19
- name: Set up Go 1.21
uses: actions/setup-go@v4
with:
go-version: 1.19
go-version: 1.21
- name: Check out code
uses: actions/checkout@v3
@ -40,7 +40,7 @@ jobs:
go mod verify
go mod download
LINT_VERSION=1.50.1
LINT_VERSION=1.54.1
curl -fsSL https://github.com/golangci/golangci-lint/releases/download/v${LINT_VERSION}/golangci-lint-${LINT_VERSION}-linux-amd64.tar.gz | \
tar xz --strip-components 1 --wildcards \*/golangci-lint
mkdir -p bin && mv golangci-lint bin/