From 1b1a04b6665d2a1a2d0308bd38a1ab8185188bbc Mon Sep 17 00:00:00 2001 From: ikesyo Date: Sun, 24 Mar 2024 10:14:13 +0900 Subject: [PATCH] [CI] Update actions and configure Dependabot --- .github/dependabot.yml | 11 +++++++++++ .github/workflows/compatibility.yml | 4 +--- .github/workflows/npm-publish.yml | 4 ++-- .github/workflows/perf.yml | 4 +--- .github/workflows/test.yml | 6 ++---- 5 files changed, 17 insertions(+), 12 deletions(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..8a923bf7 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,11 @@ +# To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# Please see the documentation for all configuration options: +# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates + +version: 2 +updates: + - package-ecosystem: 'github-actions' + directory: '/' + schedule: + interval: 'weekly' diff --git a/.github/workflows/compatibility.yml b/.github/workflows/compatibility.yml index ba9dcbb3..85783d73 100644 --- a/.github/workflows/compatibility.yml +++ b/.github/workflows/compatibility.yml @@ -9,9 +9,7 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Checkout - uses: actions/checkout@v2 - with: - fetch-depth: 1 + uses: actions/checkout@v4 - uses: swiftwasm/setup-swiftwasm@v1 with: swift-version: wasm-5.9.1-RELEASE diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index e6a887d3..96ef37a6 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -11,8 +11,8 @@ jobs: publish-npm: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: 12 registry-url: https://registry.npmjs.org/ diff --git a/.github/workflows/perf.yml b/.github/workflows/perf.yml index cb9f6026..f2ffdcc5 100644 --- a/.github/workflows/perf.yml +++ b/.github/workflows/perf.yml @@ -7,9 +7,7 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Checkout - uses: actions/checkout@master - with: - fetch-depth: 1 + uses: actions/checkout@v4 - uses: swiftwasm/setup-swiftwasm@v1 with: swift-version: wasm-5.9.1-RELEASE diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a368b839..121d2223 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -31,9 +31,7 @@ jobs: SWIFT_VERSION: ${{ matrix.entry.toolchain }} steps: - name: Checkout - uses: actions/checkout@master - with: - fetch-depth: 1 + uses: actions/checkout@v4 - name: Select SDKROOT if: ${{ matrix.entry.xcode }} run: sudo xcode-select -s /Applications/${{ matrix.entry.xcode }} @@ -65,7 +63,7 @@ jobs: xcode: Xcode_15.2 runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - run: swift build env: DEVELOPER_DIR: /Applications/${{ matrix.xcode }}.app/Contents/Developer/