From 9d9e8953e33c41f882d27759536aaf520a2aaff7 Mon Sep 17 00:00:00 2001 From: Scott Leggett Date: Sat, 18 Mar 2023 12:01:20 +0800 Subject: [PATCH] chore: switch go version to stable --- .github/workflows/build.yaml | 2 +- .github/workflows/coverage.yaml | 2 +- .github/workflows/lint.yaml | 2 +- .github/workflows/release.yaml | 4 ++-- .github/workflows/tag-to-release.yaml | 2 +- .github/workflows/test.yaml | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index c421e44..f4e1be0 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -14,7 +14,7 @@ jobs: - name: Install Go uses: actions/setup-go@v4 with: - go-version: "^1.18" + go-version: stable - name: Install Dependencies (ubuntu) if: matrix.os == 'ubuntu-latest' run: sudo apt-get update && sudo apt-get -u install libpcsclite-dev diff --git a/.github/workflows/coverage.yaml b/.github/workflows/coverage.yaml index 0243d80..0b6ed78 100644 --- a/.github/workflows/coverage.yaml +++ b/.github/workflows/coverage.yaml @@ -17,7 +17,7 @@ jobs: - name: Set up go uses: actions/setup-go@v4 with: - go-version: "^1.18" + go-version: stable - name: Install Dependencies run: sudo apt-get update && sudo apt-get -u install libpcsclite-dev - name: Calculate coverage diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 3018a14..0807347 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -12,7 +12,7 @@ jobs: - name: Install Go uses: actions/setup-go@v4 with: - go-version: "^1.18" + go-version: stable - name: golangci-lint uses: golangci/golangci-lint-action@v3 with: diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 77604c6..97176b7 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -20,7 +20,7 @@ jobs: - name: Install Go uses: actions/setup-go@v4 with: - go-version: "^1.18" + go-version: stable - name: Install ccv run: > curl -sSL https://github.com/smlx/ccv/releases/download/v0.3.2/ccv_0.3.2_linux_amd64.tar.gz @@ -52,7 +52,7 @@ jobs: - name: Install Go uses: actions/setup-go@v4 with: - go-version: "^1.18" + go-version: stable - name: Install Dependencies if: matrix.os == 'ubuntu-latest' run: sudo apt-get update && sudo apt-get -u install libpcsclite-dev diff --git a/.github/workflows/tag-to-release.yaml b/.github/workflows/tag-to-release.yaml index cc292e3..210ff7f 100644 --- a/.github/workflows/tag-to-release.yaml +++ b/.github/workflows/tag-to-release.yaml @@ -19,7 +19,7 @@ jobs: - name: Install Go uses: actions/setup-go@v4 with: - go-version: "^1.18" + go-version: stable - name: Install Dependencies (ubuntu) if: matrix.os == 'ubuntu-latest' run: sudo apt-get update && sudo apt-get -u install libpcsclite-dev diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 4c7245f..a63a438 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -9,7 +9,7 @@ jobs: - name: Install Go uses: actions/setup-go@v4 with: - go-version: "^1.18" + go-version: stable - name: Install Dependencies run: sudo apt-get update && sudo apt-get -u install libpcsclite-dev - name: Run Tests