diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d7493c6..0b99a9e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 + - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 with: node-version-file: .nvmrc cache: npm @@ -51,7 +51,7 @@ jobs: shell: ${{ matrix.shell }} steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 + - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 with: node-version-file: .nvmrc cache: npm diff --git a/.github/workflows/release-module.yml b/.github/workflows/release-module.yml index 94a0615..6286b3a 100644 --- a/.github/workflows/release-module.yml +++ b/.github/workflows/release-module.yml @@ -33,7 +33,7 @@ jobs: shell: pwsh steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 + - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 with: node-version-file: .nvmrc cache: npm @@ -49,7 +49,7 @@ jobs: $findings = @(Invoke-ScriptAnalyzer -Path ./dist/CopyPastePowerShell -Recurse -Settings ./PSScriptAnalyzerSettings.psd1) $findings | Format-Table RuleName, Severity, ScriptName, Line, Message -AutoSize -Wrap if ($findings.Count) { throw "PSScriptAnalyzer: $($findings.Count) finding(s) in the package." } - - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 + - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 with: name: CopyPastePowerShell-module path: dist/CopyPastePowerShell @@ -67,12 +67,12 @@ jobs: shell: ${{ matrix.shell }} steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 + - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 with: node-version-file: .nvmrc cache: npm - run: npm ci --ignore-scripts - - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 + - uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2 with: name: CopyPastePowerShell-module path: dist/CopyPastePowerShell @@ -109,7 +109,7 @@ jobs: run: | git merge-base --is-ancestor $env:GITHUB_SHA origin/main if ($LASTEXITCODE -ne 0) { throw "Tag $env:VERSION is not on main. Tag a commit on main to publish." } - - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 + - uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2 with: name: CopyPastePowerShell-module path: CopyPastePowerShell