diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 000000000..0a892c5d8 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,10 @@ +# Basic set up for three package managers + +version: 2 +updates: + + # Maintain dependencies for GitHub Actions + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fed7e3ce8..66018db40 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,9 +15,9 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: lts/* @@ -26,7 +26,7 @@ jobs: run: echo "dir=$(corepack yarn config get cacheFolder)" >> $GITHUB_OUTPUT shell: bash - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ${{steps.yarn-cache-dir-path.outputs.dir}} key: ${{runner.os}}-yarn-${{hashFiles('**/yarn.lock')}} @@ -58,10 +58,10 @@ jobs: runs-on: ${{matrix.platform}} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: "Use Node.js ${{matrix.node}}.x" - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{matrix.node}}.x @@ -70,7 +70,7 @@ jobs: run: echo "dir=$(corepack yarn config get cacheFolder)" >> $GITHUB_OUTPUT shell: bash - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ${{steps.yarn-cache-dir-path.outputs.dir}} key: ${{runner.os}}-yarn-${{hashFiles('**/yarn.lock')}} diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 052fb4d1e..4c1c52494 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -26,9 +26,9 @@ jobs: if: ${{ needs.release-please.outputs.release_created }} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: lts/* @@ -37,7 +37,7 @@ jobs: run: echo "dir=$(corepack yarn config get cacheFolder)" >> $GITHUB_OUTPUT shell: bash - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ${{steps.yarn-cache-dir-path.outputs.dir}} key: ${{runner.os}}-yarn-${{hashFiles('**/yarn.lock')}} diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index dcfaf1d5b..f1d11a508 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -11,10 +11,10 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: lts/* diff --git a/.github/workflows/update-nock-files.yml b/.github/workflows/update-nock-files.yml index 4e0c14551..b0615e0ff 100644 --- a/.github/workflows/update-nock-files.yml +++ b/.github/workflows/update-nock-files.yml @@ -16,12 +16,12 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: refs/pull/${{ inputs.pr_id }}/head - name: Install Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: # Let's use the oldest version supported to be sure the V8 # serialization is compatible with all supported versions. @@ -32,7 +32,7 @@ jobs: run: echo "dir=$(corepack yarn config get cacheFolder)" >> $GITHUB_OUTPUT shell: bash - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ${{steps.yarn-cache-dir-path.outputs.dir}} key: ${{runner.os}}-yarn-${{hashFiles('**/yarn.lock')}} @@ -73,7 +73,7 @@ jobs: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Upload `tests/nock` in case of failure - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() && steps.contains-changes.outputs.result == 'yes' }} with: name: nock