-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update Go to 1.23 to meet minimum Go version requirements. * Update GitHub actions to current versions. * Use git hash reference for action supply chain security. * Enable dependabot for GitHub actions. Fixes: #239 Signed-off-by: SuperQ <[email protected]>
- Loading branch information
Showing
2 changed files
with
27 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "monthly" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,13 +22,13 @@ jobs: | |
os: [ubuntu18.04] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||
- name: Install Go | ||
uses: actions/setup-go@v2 | ||
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0 | ||
with: | ||
go-version: 1.21 | ||
go-version: 1.23 | ||
- name: Cache Go Mod Pkg | ||
uses: actions/cache@v2 | ||
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 | ||
with: | ||
path: | | ||
~/.cache/go-build | ||
|
@@ -48,33 +48,33 @@ jobs: | |
os: [ubuntu18.04] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||
- name: Install Go | ||
uses: actions/setup-go@v2 | ||
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0 | ||
with: | ||
go-version: 1.21 | ||
go-version: 1.23 | ||
- name: Cache Go Mod Pkg | ||
uses: actions/cache@v2 | ||
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 | ||
with: | ||
path: | | ||
~/.cache/go-build | ||
~/go/pkg/mod | ||
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | ||
restore-keys: ${{ runner.os }}-go- | ||
- name: Cache TestBin | ||
uses: actions/cache@v2 | ||
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 | ||
with: | ||
path: testbin | ||
key: ubuntu${{ matrix.ubuntu }}-testbin | ||
restore-keys: ubuntu${{ matrix.ubuntu }}-testbin | ||
- name: Kubernetes KinD Cluster | ||
uses: container-tools/kind-action@v1 | ||
uses: container-tools/kind-action@0ad70e2299366b0e1552c7240f4e4567148f723e # v2.0.4 | ||
- name: Unit Test | ||
run: | | ||
make go-generate | ||
make test-only | ||
- name: Upload coverage to Codecov | ||
uses: codecov/codecov-action@v4 | ||
uses: codecov/codecov-action@1e68e06f1dbfde0e4cefc87efeba9e4643565303 # v5.1.2 | ||
env: | ||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | ||
with: | ||
|
@@ -100,12 +100,12 @@ jobs: | |
swap-size-mb: 1024 | ||
remove-dotnet: 'true' | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||
- name: Prepare Docker Images | ||
run: | | ||
make sit-prepare-images | ||
- name: Setup KinD Cluster | ||
uses: engineerd/[email protected] | ||
uses: engineerd/setup-kind@aa272fe2a7309878ffc2a81c56cfe3ef108ae7d0 # v0.5.0 | ||
with: | ||
version: "v0.11.1" | ||
- name: Deploy to KinD | ||
|
@@ -134,12 +134,12 @@ jobs: | |
swap-size-mb: 1024 | ||
remove-dotnet: 'true' | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||
- name: Prepare Docker Images | ||
run: | | ||
make sit-prepare-images | ||
- name: Setup KinD Cluster | ||
uses: engineerd/[email protected] | ||
uses: engineerd/setup-kind@aa272fe2a7309878ffc2a81c56cfe3ef108ae7d0 # v0.5.0 | ||
with: | ||
version: "v0.11.1" | ||
- name: Deploy to KinD | ||
|
@@ -161,12 +161,12 @@ jobs: | |
run: | ||
sudo rm -rf /usr/local/lib/android /usr/share/dotnet /usr/local/share/boost /opt/ghc | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||
- name: Prepare Docker Images | ||
run: | | ||
make sit-prepare-images | ||
- name: Setup KinD Cluster | ||
uses: container-tools/kind-action@v1 | ||
uses: container-tools/kind-action@0ad70e2299366b0e1552c7240f4e4567148f723e # v2.0.4 | ||
with: | ||
version: "v0.18.0" | ||
kubectl_version: "v1.24.0" | ||
|
@@ -189,12 +189,12 @@ jobs: | |
run: | ||
sudo rm -rf /usr/local/lib/android /usr/share/dotnet /usr/local/share/boost /opt/ghc | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||
- name: Prepare Docker Images | ||
run: | | ||
make sit-prepare-images | ||
- name: Setup KinD Cluster | ||
uses: engineerd/[email protected] | ||
uses: engineerd/setup-kind@aa272fe2a7309878ffc2a81c56cfe3ef108ae7d0 # v0.5.0 | ||
with: | ||
version: "v0.11.1" | ||
- name: Deploy to KinD | ||
|
@@ -216,9 +216,9 @@ jobs: | |
run: | ||
sudo rm -rf /usr/local/lib/android /usr/share/dotnet /usr/local/share/boost /opt/ghc | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||
- name: Setup KinD Cluster | ||
uses: engineerd/[email protected] | ||
uses: engineerd/setup-kind@aa272fe2a7309878ffc2a81c56cfe3ef108ae7d0 # v0.5.0 | ||
with: | ||
version: "v0.11.1" | ||
- name: Prepare Docker Images | ||
|