Skip to content

Commit

Permalink
ci: update release ci yml (#421)
Browse files Browse the repository at this point in the history
Signed-off-by: yuluo-yx <yuluo08290126@gmail.com>
  • Loading branch information
yuluo-yx authored May 9, 2024
1 parent 1f0b7ca commit 369a8d2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
UpdateReleaseDraft:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: release-drafter/release-drafter@v5
env:
Expand Down
25 changes: 9 additions & 16 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,12 @@ env:

jobs:
goreleaser:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- uses: ./tools/github-actions/setup-deps
- name: Unshallow
run: git fetch --prune --unshallow
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.22.2
- name: Use Node.js
uses: actions/setup-node@v3
with:
Expand All @@ -40,16 +36,13 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GH_PUBLISH_SECRETS }}

Test:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.22.2
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- uses: ./tools/github-actions/setup-deps
- name: Unit Test
run: |
make test-all-backend
make test
- name: Report
if: github.actor == 'linuxsuren'
env:
Expand All @@ -59,7 +52,7 @@ jobs:
bash <(curl -Ls https://coverage.codacy.com/get.sh) final
image:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -122,7 +115,7 @@ jobs:
unset APP_VERSION
unset HELM_VERSION
fi
make helm-package helm-push
make helm-pkg helm-push
# image-operator:
# runs-on: ubuntu-20.04
Expand Down

0 comments on commit 369a8d2

Please sign in to comment.