From 8acf3fa88c89aa6942d7ba20e86a149cf0f2d5b5 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 28 Feb 2022 19:58:02 +0100 Subject: [PATCH] Update actions/setup-go action to v3 (#150) Co-authored-by: Renovate Bot --- .github/workflows/ci.yml | 10 +++++----- .github/workflows/release.yml | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 03cd737..798ff4a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: runs-on: windows-latest steps: - name: Setup go 1.17 - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: 1.17.0 - name: Checkout code @@ -64,7 +64,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Setup go 1.17 - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: 1.17.0 - name: Checkout code @@ -112,7 +112,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Setup go 1.17 - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: 1.17.0 - name: Checkout code @@ -142,7 +142,7 @@ jobs: echo "func (a SortedDir) Less(i, j int) bool { return a[i].Name() < a[j].Name() }" >> path/src/io/fs/readdir.go echo "func (a SortedDir) Swap(i, j int) { a[i], a[j] = a[j], a[i] }" >> path/src/io/fs/readdir.go - name: Setup go 1.9.7 - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: { go-version: '1.9.7' } - name: Build run: | @@ -163,7 +163,7 @@ jobs: fail-fast: false steps: - name: Setup go 1.17 - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: 1.17.0 - name: Checkout code diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a6dd0e6..a5857be 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,7 +13,7 @@ jobs: os: [ macos-latest, windows-latest, ubuntu-latest ] steps: - name: Setup go 1.16 - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: { go-version: '1.16' } - name: Checkout code uses: actions/checkout@v2 @@ -79,7 +79,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Setup go 1.16 - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: { go-version: 1.16 } - name: Checkout code uses: actions/checkout@v2 @@ -140,7 +140,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Setup go 1.16 - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: { go-version: '1.16' } - name: Checkout code uses: actions/checkout@v2 @@ -169,7 +169,7 @@ jobs: echo "func (a SortedDir) Less(i, j int) bool { return a[i].Name() < a[j].Name() }" >> path/src/io/fs/readdir.go echo "func (a SortedDir) Swap(i, j int) { a[i], a[j] = a[j], a[i] }" >> path/src/io/fs/readdir.go - name: Setup go 1.9.7 - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: { go-version: '1.9.7' } - name: Build