diff --git a/.github/actions/ci-common-setup/action.yaml b/.github/actions/ci-common-setup/action.yaml index d340691..1c527fb 100644 --- a/.github/actions/ci-common-setup/action.yaml +++ b/.github/actions/ci-common-setup/action.yaml @@ -6,12 +6,12 @@ inputs: node-version: description: Specific Node.js version to override the common one that's gonna be selected by default required: false - default: 'v16.14.0' + default: v16.14.0 runs: using: composite steps: - - uses: actions/setup-node@v2 + - uses: actions/setup-node@v3 with: node-version: ${{ inputs.node-version }} @@ -27,7 +27,7 @@ runs: - name: Restore possibly cached dependencies id: cache-node-modules - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ./node_modules key: node-modules-${{ runner.os }}-${{ steps.node_version.outputs.version }}-${{ hashFiles('./pnpm-lock.yaml') }} diff --git a/.github/workflows/ci-build-check.yaml b/.github/workflows/ci-build-check.yaml index 6b5c904..e81cb4f 100644 --- a/.github/workflows/ci-build-check.yaml +++ b/.github/workflows/ci-build-check.yaml @@ -8,7 +8,7 @@ jobs: ts_build_test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: ref: ${{ github.head_ref }} diff --git a/.github/workflows/ci-eslint-check.yaml b/.github/workflows/ci-eslint-check.yaml index ab1c0a8..61ae59e 100644 --- a/.github/workflows/ci-eslint-check.yaml +++ b/.github/workflows/ci-eslint-check.yaml @@ -8,7 +8,7 @@ jobs: lint_check: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: ref: ${{ github.head_ref }} diff --git a/.github/workflows/ci-prettier-check.yaml b/.github/workflows/ci-prettier-check.yaml index 5ecc740..dd02b64 100644 --- a/.github/workflows/ci-prettier-check.yaml +++ b/.github/workflows/ci-prettier-check.yaml @@ -8,7 +8,7 @@ jobs: prettier_check: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: ref: ${{ github.head_ref }} diff --git a/.github/workflows/ci-tests.yaml b/.github/workflows/ci-tests.yaml index 5825bfa..42717da 100644 --- a/.github/workflows/ci-tests.yaml +++ b/.github/workflows/ci-tests.yaml @@ -8,7 +8,7 @@ jobs: run_tests: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: ref: ${{ github.head_ref }} diff --git a/.github/workflows/release_new_version.yaml b/.github/workflows/release_new_version.yaml index 2663fe7..a3a34cb 100644 --- a/.github/workflows/release_new_version.yaml +++ b/.github/workflows/release_new_version.yaml @@ -14,7 +14,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: token: ${{ secrets.SEMANTIC_RELEASE_ACTION_PAT }} # Without providing any token here as well as if passing the built-in `secrets.GITHUB_TOKEN` - the semantic release action would end up unauthorized to push changes to master since it is set with branch protection, more reference for this issue on: https://github.com/semantic-release/semantic-release/issues/2636#issuecomment-1574476011