diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index 73fcc4fc..acc8db44 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -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: diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 68099478..cfb6d0a8 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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: @@ -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: @@ -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 @@ -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