Skip to content

Commit 3b90a28

Browse files
refactor(ci): simplify the matrix strategy (#463)
1 parent 47c41d4 commit 3b90a28

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/validation.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -107,22 +107,22 @@ jobs:
107107
purpose-of-job: Test
108108
- os: ubuntu-latest
109109
os-friendly-name: Ubuntu 22
110-
check-version-command: grep "VERSION\|ID" /etc/os-release && uname -a
110+
check-version-command: grep "VERSION\|ID" /etc/os-release
111111
install-upgrades-command: sudo apt-get update && sudo NEEDRESTART_MODE=a apt-get dist-upgrade -y
112112
- os: ubuntu-20.04
113113
os-friendly-name: Ubuntu 20
114-
check-version-command: grep "VERSION\|ID" /etc/os-release && uname -a
114+
check-version-command: grep "VERSION\|ID" /etc/os-release
115115
install-upgrades-command: sudo apt-get update && sudo NEEDRESTART_MODE=a apt-get dist-upgrade -y
116116
- os: macos-14
117117
os-friendly-name: macOS 14 arm64
118-
check-version-command: sw_vers | grep Version | awk '{print $2}' && uname -a
118+
check-version-command: sw_vers | grep Version | awk '{print $2}'
119119
- os: macos-13
120120
os-friendly-name: macOS 13 x86_64
121-
check-version-command: sw_vers | grep Version | awk '{print $2}' && uname -a
121+
check-version-command: sw_vers | grep Version | awk '{print $2}'
122122
needs: [shell-lint, yaml-lint, dockerfile-lint, markdown-spellcheck, pause-if-master-commit]
123123
steps:
124124
- name: Check the current OS version
125-
run: ${{ matrix.check-version-command }}
125+
run: ${{ matrix.check-version-command }} && uname -a
126126
- uses: actions/checkout@v4
127127
- name: Install system upgrades
128128
run: ${{ matrix.install-upgrades-command }}

0 commit comments

Comments
 (0)