Skip to content

Commit b6bc8b0

Browse files
authored
Merge pull request #37 from SixPivot/dependabot/github_actions/actions/checkout-5
2 parents edd5607 + b2e9100 commit b6bc8b0

3 files changed

Lines changed: 30 additions & 23 deletions

File tree

.github/workflows/ci.yml

Lines changed: 26 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,41 +2,48 @@ name: CI
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [main]
66
pull_request:
7-
branches: [ main ]
7+
branches: [main]
88
workflow_dispatch:
99

1010
jobs:
11-
1211
test:
1312
name: Test Linux
1413
strategy:
1514
fail-fast: true
1615

1716
# PowerShell Docker images - https://mcr.microsoft.com/v2/powershell/tags/list
1817
# Versions in support - https://learn.microsoft.com/en-us/powershell/scripting/install/powershell-support-lifecycle?view=powershell-7.3&WT.mc_id=DOP-MVP-5001655
18+
# Ubuntu support lifecycle - https://endoflife.date/ubuntu
1919
matrix:
2020
include:
21-
# - version: 6.2.4-ubuntu-18.04
22-
# networkVersion: "2.5.0" # https://www.powershellgallery.com/packages/Az.Network/2.5.0/Content/Az.Network.psm1
23-
# - version: 7.0.3-ubuntu-18.04 # 7.0 LTS Out of support
24-
# networkVersion: "5.2.0"
25-
- version: lts-ubuntu-22.04 # 7.2 LTS Current
26-
networkVersion: "5.2.0"
27-
- version: ubuntu-22.04 # 7.4 Stable
21+
# 7.4 LTS, 7.5, 7.6 Preview
22+
- version: 7.4-ubuntu-20.04
2823
networkVersion: "5.2.0"
29-
- version: preview-ubuntu-22.04 # 7.5 Preview
24+
- version: 7.4-ubuntu-20.04
3025
networkVersion: "5.2.0"
31-
- version: ubuntu-22.04 # 7.4
26+
- version: 7.4-ubuntu-22.04
3227
networkVersion: "7.0.0"
33-
- version: ubuntu-22.04 # 7.4
34-
networkVersion: "7.8.0"
28+
- version: 7.4-ubuntu-20.04
29+
networkVersion: "7.19.0"
30+
- version: 7.5-ubuntu-20.04
31+
networkVersion: "7.19.0"
32+
- version: 7.5-ubuntu-22.04
33+
networkVersion: "7.19.0"
34+
- version: 7.5-ubuntu-24.04
35+
networkVersion: "7.19.0"
36+
- version: preview-7.6-ubuntu-20.04
37+
networkVersion: "7.19.0"
38+
- version: preview-7.6-ubuntu-22.04
39+
networkVersion: "7.19.0"
40+
- version: preview-7.6-ubuntu-24.04
41+
networkVersion: "7.19.0"
3542

3643
runs-on: ubuntu-22.04
3744
container: mcr.microsoft.com/powershell:${{ matrix.version }}
3845
steps:
39-
- uses: actions/checkout@v4
46+
- uses: actions/checkout@v5
4047

4148
- name: Install Pester Module
4249
run: |
@@ -66,10 +73,10 @@ jobs:
6673
strategy:
6774
fail-fast: true
6875
matrix:
69-
os: [ windows-2019, windows-2022 ]
76+
os: [windows-2025, windows-2022]
7077
runs-on: ${{ matrix.os }}
7178
steps:
72-
- uses: actions/checkout@v4
79+
- uses: actions/checkout@v5
7380

7481
- name: Remove old Pester
7582
run: |
@@ -82,7 +89,7 @@ jobs:
8289
shell: powershell
8390

8491
- name: PowerShell Module Cache
85-
uses: potatoqualitee/psmodulecache@v6.2
92+
uses: potatoqualitee/psmodulecache@v6.2.1
8693
with:
8794
modules-to-cache: Pester, Az.Network, Az.Accounts
8895
shell: powershell
@@ -111,7 +118,7 @@ jobs:
111118
permissions:
112119
contents: write
113120
steps:
114-
- uses: actions/checkout@v4
121+
- uses: actions/checkout@v5
115122
with:
116123
fetch-depth: 0
117124

.github/workflows/code-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
steps:
1919
# Checkout the repository to the GitHub Actions runner
2020
- name: Checkout code
21-
uses: actions/checkout@v4
21+
uses: actions/checkout@v5
2222

2323
- name: PowerShell Module Cache
24-
uses: potatoqualitee/psmodulecache@v6.2
24+
uses: potatoqualitee/psmodulecache@v6.2.1
2525
with:
2626
modules-to-cache: PSScriptAnalyzer, ConvertToSARIF, Az.Network
2727

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ jobs:
1010
steps:
1111
- run: echo "${{ github.event.release.tag_name }}"
1212

13-
- uses: actions/checkout@v4
13+
- uses: actions/checkout@v5
1414

1515
- name: PowerShell Module Cache
16-
uses: potatoqualitee/psmodulecache@v6.2
16+
uses: potatoqualitee/psmodulecache@v6.2.1
1717
with:
1818
modules-to-cache: Az.Network
1919

0 commit comments

Comments
 (0)