From 89c47d96b44e79cbf56db0e0610046bfe16ce219 Mon Sep 17 00:00:00 2001 From: cetteup Date: Mon, 16 Jan 2023 22:08:40 +0100 Subject: [PATCH] ci: Use go 1.18.10/1.19.5 for workflows --- .github/workflows/ci.yaml | 8 ++++---- .github/workflows/release.yaml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d37ebcd..dd1bab8 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -12,24 +12,24 @@ jobs: name: lint strategy: matrix: - go-version: [ 1.18, 1.19 ] + go-version: [ 1.18.10, 1.19.5 ] os: [ windows-latest ] runs-on: ${{ matrix.os }} steps: - uses: actions/setup-go@v3 with: - go-version: 1.18 + go-version: ${{ matrix.go-version }} - uses: actions/checkout@v3 - name: golangci-lint uses: golangci/golangci-lint-action@v3 with: - version: v1.45.2 + version: latest only-new-issues: true unit-test: name: unit-test strategy: matrix: - go-version: [ 1.18, 1.19 ] + go-version: [ 1.18.10, 1.19.5 ] os: [ windows-latest ] runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 35b87b0..c041518 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -19,7 +19,7 @@ jobs: github_token: ${{ secrets.GITHUB_TOKEN }} goos: ${{ matrix.goos }} goarch: ${{ matrix.goarch }} - goversion: 1.18 + goversion: 1.19.5 project_path: cmd/joinme.click-launcher pre_command: go install github.com/josephspurrier/goversioninfo/cmd/goversioninfo@v1.4.0 && pushd cmd/joinme.click-launcher && go generate && popd extra_files: config.example.yaml