Skip to content

Commit

Permalink
Update workflows to point to go.mod (#84)
Browse files Browse the repository at this point in the history
* Update workflows

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

* Bump up go version to 1.21 and k8s.io/apimachinery to v0.29.2 (#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]>

* Update .github/workflows/CI.yml

Co-authored-by: Michael Valdron <[email protected]>
Signed-off-by: thepetk <[email protected]>

* Update .github/workflows/check_registry.yaml

Co-authored-by: Michael Valdron <[email protected]>
Signed-off-by: thepetk <[email protected]>

* Update .github/workflows/release.yaml

Co-authored-by: Michael Valdron <[email protected]>
Signed-off-by: thepetk <[email protected]>

* Update .github/workflows/CI.yml

Co-authored-by: Michael Valdron <[email protected]>
Signed-off-by: thepetk <[email protected]>

* Revert formatting

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

---------

Signed-off-by: thepetk <[email protected]>
Co-authored-by: Michael Valdron <[email protected]>
  • Loading branch information
thepetk and michael-valdron authored Jun 17, 2024
1 parent c603ca9 commit 42574ef
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: CI
on:
push:
branches: [ main ]
branches: [main]
pull_request:
branches: [ main ]
branches: [main]

jobs:
build:
Expand All @@ -14,7 +14,7 @@ jobs:
- name: Setup Go environment
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
go-version: '1.21'
go-version-file: 'go.mod'

- name: Check go mod status
run: |
Expand Down Expand Up @@ -62,8 +62,8 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
go-version: 1.21
go-version-file: 'go.mod'
- name: Run tests
run: make test
- name: Codecov
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
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: "1.21"
go-version-file: 'go.mod'
- name: Run registries check
id: build
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
go-version: '1.21'
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 42574ef

Please sign in to comment.