Skip to content

Commit

Permalink
Merge pull request #248 from subhamkrai/update-go-version
Browse files Browse the repository at this point in the history
ci: update runner go version to 1.21
  • Loading branch information
subhamkrai authored Feb 22, 2024
2 parents 21feb88 + 0686fc0 commit aba01b0
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/go-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ jobs:
fetch-depth: 0

- name: setup golang
uses: actions/setup-go@v5
with:
go-version: "1.20"
uses: ./.github/workflows/set-up-go

- name: consider debugging
uses: ./.github/workflows/tmate_debug
Expand Down Expand Up @@ -180,9 +178,7 @@ jobs:
fetch-depth: 0

- name: setup golang
uses: actions/setup-go@v5
with:
go-version: "1.20"
uses: ./.github/workflows/set-up-go

- name: consider debugging
uses: ./.github/workflows/tmate_debug
Expand Down Expand Up @@ -241,7 +237,7 @@ jobs:
kubectl rook-ceph --operator-namespace test-operator -n test-cluster subvolume ls
kubectl rook-ceph --operator-namespace test-operator -n test-cluster subvolume ls --stale
kubectl rook-ceph --operator-namespace test-operator -n test-cluster subvolume delete myfs test-subvol group-a
kubectl rook-ceph --operator-namespace test-operator -n test-cluster subvolume delete myfs test-subvol-1
kubectl rook-ceph --operator-namespace test-operator -n test-cluster subvolume delete myfs test-subvol-1
- name: Get mon endpoints
run: |
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ jobs:
with:
fetch-depth: 0

- name: setup golang
uses: ./.github/workflows/set-up-go

- name: GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/set-up-go/action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: Set up Golang
description: Set up go for CI

runs:
using: "composite"
steps:
- name: setup golang
uses: actions/setup-go@v5
with:
go-version: "1.21"

0 comments on commit aba01b0

Please sign in to comment.