diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 761a131e1..a751f2b4f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,15 +11,15 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - - uses: actions/setup-java@v3 + - uses: actions/setup-java@v4 with: distribution: 'temurin' java-version: '17' cache: 'gradle' - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: '3.9' @@ -88,7 +88,7 @@ jobs: echo $( ls ./artifact/build/ | grep '.zip' ) > ./artifact/.metadata/zip_filename echo $(date -u +'%Y-%m-%d_%H-%M' -d"$(stat -c %y ./artifact/build/total-conversion-build.user.js)") > ./artifact/.metadata/buildstamp - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: build path: | diff --git a/.github/workflows/build_pr.yml b/.github/workflows/build_pr.yml index 8c735b05c..11976436c 100644 --- a/.github/workflows/build_pr.yml +++ b/.github/workflows/build_pr.yml @@ -11,15 +11,15 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - - uses: actions/setup-java@v3 + - uses: actions/setup-java@v4 with: distribution: 'temurin' java-version: '17' cache: 'gradle' - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: '3.9' @@ -46,7 +46,7 @@ jobs: echo $( ls ./build/build/ | grep '.zip' ) > ./build/.metadata/zip_filename echo $(date -u +'%Y-%m-%d_%H-%M' -d"$(stat -c %y ./build/build/total-conversion-build.user.js)") > ./build/.metadata/buildstamp - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: build path: | diff --git a/.github/workflows/jsdoc.yml b/.github/workflows/jsdoc.yml index 080dbd847..ba323c6d3 100644 --- a/.github/workflows/jsdoc.yml +++ b/.github/workflows/jsdoc.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Build uses: andstor/jsdoc-action@v1 @@ -25,7 +25,7 @@ jobs: - name: Deploy if: github.event_name != 'pull_request' - uses: peaceiris/actions-gh-pages@v3 + uses: peaceiris/actions-gh-pages@v4 with: deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }} publish_dir: ./out diff --git a/.github/workflows/merge_pr.yml b/.github/workflows/merge_pr.yml index 80fc5da08..05a7aa5bf 100644 --- a/.github/workflows/merge_pr.yml +++ b/.github/workflows/merge_pr.yml @@ -14,7 +14,7 @@ jobs: env: WEBSITE_REPO: ${{ secrets.WEBSITE_REPO }} if: ${{ env.WEBSITE_REPO != '' }} - uses: peter-evans/repository-dispatch@v2 + uses: peter-evans/repository-dispatch@v3 with: token: ${{ secrets.API_TOKEN_GITHUB }} repository: ${{ env.WEBSITE_REPO }} diff --git a/.github/workflows/reviewdog.yml b/.github/workflows/reviewdog.yml index 34d70fd93..73c49b335 100644 --- a/.github/workflows/reviewdog.yml +++ b/.github/workflows/reviewdog.yml @@ -17,7 +17,7 @@ jobs: pull-requests: write steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: reviewdog/action-eslint@v1 with: github_token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/send_build_to_website.yml b/.github/workflows/send_build_to_website.yml index 0534132d9..8880da9c5 100644 --- a/.github/workflows/send_build_to_website.yml +++ b/.github/workflows/send_build_to_website.yml @@ -14,7 +14,7 @@ jobs: if: ${{ github.event.workflow_run.conclusion == 'success' }} steps: - name: 'Download artifact' - uses: actions/github-script@v6 + uses: actions/github-script@v7 env: WEBSITE_REPO: ${{ secrets.WEBSITE_REPO }} if: ${{ env.WEBSITE_REPO != '' }} @@ -79,7 +79,7 @@ jobs: env: WEBSITE_REPO: ${{ secrets.WEBSITE_REPO }} if: ${{ env.WEBSITE_REPO != '' }} - uses: peter-evans/repository-dispatch@v2 + uses: peter-evans/repository-dispatch@v3 with: token: ${{ secrets.API_TOKEN_GITHUB }} repository: ${{ env.WEBSITE_REPO }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 65ecc852c..7be79f560 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,12 +12,12 @@ jobs: name: 'Node.js v18' 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: '18' - name: 'Cache node_modules' - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ~/.npm key: ${{ runner.os }}-node-18-${{ hashFiles('**/package.json') }}