Skip to content

Commit

Permalink
Bump up go version to 1.21 and k8s.io/apimachinery to v0.29.2 (devfil…
Browse files Browse the repository at this point in the history
…e#80)

* Bump up go to 1.21 and apimachinery to 0.29.2

Signed-off-by: thepetk <[email protected]>

* Update workflows and documentation

Signed-off-by: thepetk <[email protected]>

---------

Signed-off-by: thepetk <[email protected]>
  • Loading branch information
thepetk committed Jun 17, 2024
1 parent a26868b commit 042134f
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Setup Go environment
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
go-version: 'go.mod'
go-version-file: "go.mod"

- name: Check go mod status
run: |
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
go-version: 'go.mod'
go-version-file: "go.mod"
- name: Run tests
run: make test
- name: Codecov
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check_registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
id: setup-go
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
go-version: 'go.mod'
go-version-file: "go.mod"
- name: Run registries check
id: build
run: |
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
on:
push:
tags:
- 'v*'
- "v*"

name: Build Release

Expand All @@ -15,25 +15,25 @@ permissions:
jobs:
release:
name: Create Release
runs-on: 'ubuntu-latest'
runs-on: "ubuntu-latest"
strategy:
matrix:
goosarch:
- 'darwin/amd64'
- 'darwin/arm64'
- 'linux/amd64'
- 'linux/arm64'
- 'linux/ppc64le'
- 'linux/s390x'
- 'windows/amd64'
- "darwin/amd64"
- "darwin/arm64"
- "linux/amd64"
- "linux/arm64"
- "linux/ppc64le"
- "linux/s390x"
- "windows/amd64"
steps:
- name: Checkout code
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
with:
fetch-depth: 0
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
go-version: 'go.mod'
go-version-file: "go.mod"
- name: Get OS and arch info
run: |
GOOSARCH=${{matrix.goosarch}}
Expand All @@ -58,4 +58,4 @@ jobs:
draft: false
files: ${{env.BINARY_NAME}}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 042134f

Please sign in to comment.