From 606284d40875d6048eb035dda6810bfa664e9884 Mon Sep 17 00:00:00 2001 From: Harry Marr Date: Sat, 22 Oct 2022 14:33:29 -0400 Subject: [PATCH] build: update github actions --- .github/workflows/ci.yml | 6 +++--- .github/workflows/release.yml | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0ec90d7..bc3f2fa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,12 +13,12 @@ jobs: steps: - name: Set up Go 1.x - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: - go-version: ^1.16 + go-version: ^1.18 - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Build cli run: go build ./cmd/codeowners diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d8ce715..3a2bb07 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,20 +10,20 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: - go-version: 1.16 + go-version: 1.18 - name: Test run: go test ./... -v - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v2 + uses: goreleaser/goreleaser-action@v3 with: version: latest args: release --rm-dist