diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2837192b1..0b8bedd76 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,11 +11,11 @@ jobs: name: ๐Ÿ”จ Build distribution runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: fetch-depth: 0 - name: ๐Ÿ— Set up Python 3.7 - uses: actions/setup-python@v1 + uses: actions/setup-python@v4 with: python-version: 3.7 - name: ๐Ÿ— Install build dependencies @@ -25,7 +25,7 @@ jobs: run: | python setup.py sdist bdist_wheel - name: โฌ† Upload build result - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v3 with: name: dist path: dist @@ -34,9 +34,9 @@ jobs: name: ๐Ÿงน Pre-commit runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: ๐Ÿ— Set up Python 3.7 - uses: actions/setup-python@v1 + uses: actions/setup-python@v4 with: python-version: 3.7 - name: ๐Ÿ— Set up dev dependencies @@ -53,9 +53,9 @@ jobs: python: ["3.7", "3.8", "3.9", "3.10"] runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: ๐Ÿ— Set up Python ${{ matrix.python }} - uses: actions/setup-python@v1 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python }} - name: ๐Ÿ— Set up test dependencies @@ -70,7 +70,7 @@ jobs: needs: build runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: ๐Ÿ— Set up test dependencies run: | npm -g install node-qunit-puppeteer@2.1.0 @@ -89,12 +89,12 @@ jobs: runs-on: ubuntu-latest steps: - name: โฌ‡ Download build result - uses: actions/download-artifact@v1 + uses: actions/download-artifact@v3 with: name: dist path: dist - name: ๐Ÿ— Set up Python ${{ matrix.python }} - uses: actions/setup-python@v1 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python }} - name: ๐Ÿš€ Install wheel @@ -113,15 +113,15 @@ jobs: continue-on-error: true steps: - name: โฌ‡ Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: โฌ‡ Download build result - uses: actions/download-artifact@v1 + uses: actions/download-artifact@v3 with: name: dist path: dist - name: ๐Ÿ— Set up Python 3.7 - uses: actions/setup-python@v1 + uses: actions/setup-python@v4 with: python-version: 3.7 - name: ๐Ÿš€ Install wheel @@ -134,7 +134,7 @@ jobs: cp -r .github/fixtures/with_acl/* e2econfig - name: ๐Ÿš€ Run Cypress - uses: cypress-io/github-action@v2 + uses: cypress-io/github-action@v4.2.0 with: working-directory: tests/cypress browser: chrome @@ -142,7 +142,7 @@ jobs: wait-on: "http://127.0.0.1:5000/online.txt" - name: โฌ† Upload screenshots - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v3 if: failure() with: name: cypress-screenshots @@ -166,7 +166,7 @@ jobs: runs-on: ubuntu-latest steps: - name: โฌ‡ Download build result - uses: actions/download-artifact@v1 + uses: actions/download-artifact@v3 with: name: dist path: dist @@ -184,7 +184,7 @@ jobs: runs-on: ubuntu-latest steps: - name: โฌ‡ Download build result - uses: actions/download-artifact@v1 + uses: actions/download-artifact@v3 with: name: dist path: dist diff --git a/.github/workflows/issue_automation.yml b/.github/workflows/issue_automation.yml index 13830c66a..ab645ab90 100644 --- a/.github/workflows/issue_automation.yml +++ b/.github/workflows/issue_automation.yml @@ -7,7 +7,7 @@ jobs: issue-automation: runs-on: ubuntu-latest steps: - - uses: actions/github-script@v5 + - uses: actions/github-script@v6 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | @@ -72,7 +72,7 @@ jobs: # with: # repo-token: ${{ secrets.GITHUB_TOKEN }} - - uses: actions/github-script@v5 + - uses: actions/github-script@v6 env: REMINDER: > Hi @${{ github.event.issue.user.login }}! diff --git a/.github/workflows/linkify_bundles.yml b/.github/workflows/linkify_bundles.yml index 9e0553891..18bc21a07 100644 --- a/.github/workflows/linkify_bundles.yml +++ b/.github/workflows/linkify_bundles.yml @@ -7,7 +7,7 @@ jobs: linkifyBundles: runs-on: ubuntu-latest steps: - - uses: actions/github-script@v2 + - uses: actions/github-script@v6 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | @@ -38,14 +38,14 @@ jobs: }); text += "\n*edited by @github-actions to add bundle viewer links*\n"; - github.issues.updateComment({ + github.rest.issues.updateComment({ owner: context.repo.owner, repo: context.repo.repo, comment_id: context.payload.comment.id, body: text }); } else if (botWasHere !== -1) { - github.issues.updateComment({ + github.rest.issues.updateComment({ owner: context.repo.owner, repo: context.repo.repo, comment_id: context.payload.comment.id, diff --git a/.github/workflows/nightly_merge.yml b/.github/workflows/nightly_merge.yml index 56821fbc0..e101eb722 100644 --- a/.github/workflows/nightly_merge.yml +++ b/.github/workflows/nightly_merge.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - name: โฌ‡ Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 diff --git a/.github/workflows/pr_automation.yml b/.github/workflows/pr_automation.yml index cc411d121..a7f7ef7cf 100644 --- a/.github/workflows/pr_automation.yml +++ b/.github/workflows/pr_automation.yml @@ -12,7 +12,7 @@ jobs: with: repo-token: "${{ secrets.GITHUB_TOKEN }}" - - uses: actions/github-script@v5 + - uses: actions/github-script@v6 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/test_install.yml b/.github/workflows/test_install.yml index 76d7b2e23..18f6d7b39 100644 --- a/.github/workflows/test_install.yml +++ b/.github/workflows/test_install.yml @@ -19,11 +19,11 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: ๐Ÿ Set up Python ${{ matrix.python }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python }} - name: โฌ‡ Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: ref: ${{ matrix.branch }} fetch-depth: 0 @@ -60,7 +60,7 @@ jobs: with: repository: "OctoPrint/OctoPrint" - name: ๐Ÿ Set up Python ${{ matrix.python }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python }} - name: ๐Ÿ‘ท Build and install latest release