diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bbce3ee..3bbda7a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,10 +19,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Upload module - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: module path: ./src/ @@ -32,10 +32,10 @@ jobs: runs-on: windows-latest steps: - name: Checkout Repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Download module - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: module path: C:\Users\runneradmin\Documents\PowerShell\Modules\AnyPackage.ModuleFast\ @@ -55,7 +55,7 @@ jobs: runs-on: windows-latest steps: - name: Checkout Repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Import certificate env: @@ -85,7 +85,7 @@ jobs: Set-AuthenticodeSignature @config - name: Upload module - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: module-signed path: ./src/ @@ -97,7 +97,7 @@ jobs: steps: - name: Download module - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: module-signed path: '~/.local/share/powershell/Modules/AnyPackage.ModuleFast' diff --git a/.github/workflows/lint-powershell.yml b/.github/workflows/lint-powershell.yml index 381179a..484b0db 100644 --- a/.github/workflows/lint-powershell.yml +++ b/.github/workflows/lint-powershell.yml @@ -24,7 +24,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install AnyPackage and ConvertToSARIF run: Install-Module AnyPackage, ConvertToSARIF -Force -AllowClobber @@ -35,6 +35,6 @@ jobs: Invoke-ScriptAnalyzer -Path . -Recurse | ConvertTo-SARIF -FilePath results.sarif - name: Upload SARIF results file - uses: github/codeql-action/upload-sarif@v2 + uses: github/codeql-action/upload-sarif@v3 with: sarif_file: results.sarif