Skip to content

Commit b35465f

Browse files
🚀 ci: simplify GitHub Actions matrix configuration
Remove redundant include structure and directly specify operating systems in the matrix. This simplifies the workflow configuration while maintaining the same functionality across all platforms.
1 parent 817ac30 commit b35465f

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

.github/workflows/install-script.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,20 +37,14 @@ jobs:
3737
strategy:
3838
fail-fast: false
3939
matrix:
40-
include:
41-
- os: ubuntu-latest
42-
shell: bash
43-
- os: macos-latest
44-
shell: bash
45-
- os: windows-latest
46-
shell: bash
40+
os: [ubuntu-latest, macos-latest, windows-latest]
4741
runs-on: ${{ matrix.os }}
4842
steps:
4943
- name: Checkout repository
5044
uses: actions/checkout@v4
5145

5246
- name: Test install script functionality (simulated)
53-
shell: ${{ matrix.shell }}
47+
shell: bash
5448
run: |
5549
# Make script executable
5650
chmod +x install.sh
@@ -63,7 +57,7 @@ jobs:
6357
6458
- name: Test script syntax against released version
6559
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
66-
shell: ${{ matrix.shell }}
60+
shell: bash
6761
run: |
6862
# This will only work after we have at least one release
6963
# For now, just test the script syntax

0 commit comments

Comments
 (0)