Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: update ci version #129

Merged
merged 1 commit into from
Mar 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/auto-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ on:

jobs:
auto-release:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Checkout source
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Download auto
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/code-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@ jobs:
staticcheck:
strategy:
matrix:
machines: [ "ubuntu-20.04","macos-12" ]
machines: [ "ubuntu-22.04","macos-12" ]
runs-on: ${{ matrix.machines }}
steps:
- name: Setup Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
submodules: true

Expand Down Expand Up @@ -57,16 +57,16 @@ jobs:
lint:
strategy:
matrix:
machines: [ "ubuntu-20.04","macos-12" ]
machines: [ "ubuntu-22.04","macos-12" ]
runs-on: ${{ matrix.machines }}
steps:
- name: Setup Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
submodules: true

Expand All @@ -93,16 +93,16 @@ jobs:
go-check:
strategy:
matrix:
machines: [ "ubuntu-20.04","macos-12" ]
machines: [ "ubuntu-22.04","macos-12" ]
runs-on: ${{ matrix.machines }}
steps:
- name: Setup Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
submodules: true

Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/e2e-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ jobs:
build-artifact:
env:
VELAUX_VERSION_KEY: github.com/oam-dev/velad/version.VelaUXVersion
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
matrix:
TARGETS: [ linux/amd64, darwin/amd64, windows/amd64, linux/arm64, darwin/arm64 ]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Install dependencies
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: 1.19
- name: Get matrix
Expand All @@ -42,12 +42,12 @@ jobs:
path: bin/velad-${{ steps.get_matrix.outputs.OS }}-${{ steps.get_matrix.outputs.ARCH }}
name: velad-${{ steps.get_matrix.outputs.OS }}-${{ steps.get_matrix.outputs.ARCH }}
test-linux:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
needs: [ build-artifact ]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Install dependencies
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: 1.19
- name: Install ginkgo
Expand All @@ -67,9 +67,9 @@ jobs:
runs-on: macos-12
needs: [ build-artifact ]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Install dependencies
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: 1.19
- name: Install ginkgo
Expand All @@ -90,7 +90,7 @@ jobs:
# run: ginkgo -v ./test/e2e-test

# test-linux-arm64:
# runs-on: ubuntu-20.04
# runs-on: ubuntu-22.04
# needs: [ build-artifact ]
# steps:
# - uses: actions/download-artifact@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ jobs:
DIST_DIRS: find * -type d -exec
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: 1.19
- name: Get release
Expand Down