diff --git a/.github/workflows/cicd-build.yml b/.github/workflows/cicd-build.yml index c6a2404..f2883a2 100644 --- a/.github/workflows/cicd-build.yml +++ b/.github/workflows/cicd-build.yml @@ -13,15 +13,15 @@ jobs: runs-on: ubuntu-latest steps: - name: Set up Go 1.x - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: - go-version: ^1.14 + go-version: '^1.20' id: go - name: Check out code into the Go module directory - uses: actions/checkout@v2 + uses: actions/checkout@v4 - - uses: actions/cache@v2 + - uses: actions/cache@v4 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 28acc4b..768efce 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -16,26 +16,25 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 # otherwise, you will failed to push refs to dest repo persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token - name: Release id: release - uses: cycjimmy/semantic-release-action@5982a02995853159735cb838992248c4f0f16166 # v2 + uses: cycjimmy/semantic-release-action@v4 with: - semantic_version: 17.4.7 branches: | [ 'main' ] extra_plugins: | - @semantic-release/commit-analyzer@8.0.1 - @semantic-release/release-notes-generator@9.0.3 - @semantic-release/changelog@5.0.1 - @semantic-release/git@9.0.1 - @semantic-release/github@7.2.3 + @semantic-release/commit-analyzer@12.0.0 + @semantic-release/release-notes-generator@13.0.0 + @semantic-release/changelog@6.0.3 + @semantic-release/git@10.0.1 + @semantic-release/github@10.0.5 env: GIT_CREDENTIALS: git:${{ secrets.PAT }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}