diff --git a/.github/workflows/codacy-analysis.yml b/.github/workflows/codacy-analysis.yml index b2b678ac1..b388e8c91 100644 --- a/.github/workflows/codacy-analysis.yml +++ b/.github/workflows/codacy-analysis.yml @@ -24,11 +24,11 @@ jobs: steps: # Checkout the repository to the GitHub Actions runner - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 # Execute Codacy Analysis CLI and generate a SARIF output with the security issues identified during the analysis - name: Run Codacy Analysis CLI - uses: codacy/codacy-analysis-cli-action@1.1.0 + uses: codacy/codacy-analysis-cli-action@v4 with: # Check https://github.com/codacy/codacy-analysis-cli#project-token to get your project token from your Codacy repository # You can also omit the token and run the tools that support default configurations @@ -44,6 +44,6 @@ jobs: # Upload the SARIF file generated in the previous step - name: Upload SARIF results file - uses: github/codeql-action/upload-sarif@v1 + uses: github/codeql-action/upload-sarif@v2 with: sarif_file: results.sarif diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 26600a411..acde4702b 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -21,11 +21,11 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v1 + uses: github/codeql-action/init@v2 with: languages: python # If you wish to specify custom queries, you can do so here or in a config file. @@ -36,7 +36,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@v1 + uses: github/codeql-action/autobuild@v2 # â„šī¸ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl @@ -50,4 +50,4 @@ jobs: # make release - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v1 + uses: github/codeql-action/analyze@v2 diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 9a205f0c0..fd4fb0b69 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -36,12 +36,12 @@ jobs: PYTHON_SHA256SUM: 7888174c6fe441b00448c7ab3e9cbf0e6c3c7dea0750577baf09e1383fc44656 MACOSX_DEPLOYMENT_TARGET: ${{ matrix.macos-deployment-version }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: fetch-depth: 0 # Fetch entire history, needed for setting the build number - run: git fetch --depth=1 origin +refs/tags/release-*:refs/tags/release-* - name: Cache libdiscid - uses: actions/cache@v1 + uses: actions/cache@v3 with: path: ~/libdiscid key: ${{ runner.os }}-libdiscid-${{ env.DISCID_VERSION }}-${{ env.MACOSX_DEPLOYMENT_TARGET }} @@ -104,7 +104,7 @@ jobs: APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }} CODESIGN_MACOS_P12_PASSWORD: ${{ secrets.CODESIGN_MACOS_P12_PASSWORD }} - name: Archive production artifacts - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v3 with: name: macos-app-${{ matrix.macos-deployment-version }} path: artifacts/ @@ -120,12 +120,12 @@ jobs: - portable fail-fast: false steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: fetch-depth: 0 # Fetch entire history, needed for setting the build number - run: git fetch --depth=1 origin +refs/tags/release-*:refs/tags/release-* - name: Set up Python 3.8 - uses: actions/setup-python@v1 + uses: actions/setup-python@v3 with: python-version: 3.8 - name: Setup Windows build environment @@ -216,7 +216,7 @@ jobs: if: env.CODESIGN == '1' run: Remove-Item .\codesign.pfx - name: Archive production artifacts - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v3 if: matrix.type != 'signed-app' || env.CODESIGN == '1' with: name: windows-${{ matrix.type }} @@ -229,31 +229,31 @@ jobs: - package-macos - package-windows steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v1 + - uses: actions/checkout@v3 + - uses: actions/setup-python@v3 with: python-version: 3.9 - - uses: actions/download-artifact@v1 + - uses: actions/download-artifact@v3 with: name: macos-app-10.12 path: artifacts/ - - uses: actions/download-artifact@v1 + - uses: actions/download-artifact@v3 with: name: macos-app-10.14 path: artifacts/ - - uses: actions/download-artifact@v1 + - uses: actions/download-artifact@v3 with: name: windows-signed-app path: artifacts/ - - uses: actions/download-artifact@v1 + - uses: actions/download-artifact@v3 with: name: windows-store-app path: artifacts/ - - uses: actions/download-artifact@v1 + - uses: actions/download-artifact@v3 with: name: windows-installer path: artifacts/ - - uses: actions/download-artifact@v1 + - uses: actions/download-artifact@v3 with: name: windows-portable path: artifacts/ diff --git a/.github/workflows/pypi-release.yml b/.github/workflows/pypi-release.yml index 5a77a81e4..601680eb5 100644 --- a/.github/workflows/pypi-release.yml +++ b/.github/workflows/pypi-release.yml @@ -11,8 +11,8 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v1 + - uses: actions/checkout@v3 + - uses: actions/setup-python@v3 with: python-version: 3.8 - name: Install dependencies @@ -26,7 +26,7 @@ jobs: run: | python setup.py clean sdist - name: Upload artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: picard-sdist path: dist/* @@ -79,9 +79,9 @@ jobs: - os: macos-10.15 python-version: '3.10' steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v1 + uses: actions/setup-python@v3 with: python-version: ${{ matrix.python-version }} - name: Install gettext and openssl (macOS) @@ -103,7 +103,7 @@ jobs: run: | python setup.py clean bdist_wheel - name: Upload artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: picard-bdist-${{ runner.os }} path: dist/*.whl diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 789d24da8..3b4e18a46 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -19,9 +19,9 @@ jobs: CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v1 + uses: actions/setup-python@v3 with: python-version: ${{ matrix.python-version }} - name: Install dependencies @@ -68,9 +68,9 @@ jobs: ] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v1 + uses: actions/setup-python@v3 with: python-version: ${{ matrix.python-version }} - name: Install dependencies @@ -93,9 +93,9 @@ jobs: python-version: ['3.8'] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v1 + uses: actions/setup-python@v3 with: python-version: ${{ matrix.python-version }} - name: Install gettext (Linux)