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