Skip to content

Commit b5b839a

Browse files
committed
Fix GitHub Actions workflow YAML syntax
1 parent 7bac8fa commit b5b839a

File tree

1 file changed

+39
-39
lines changed

1 file changed

+39
-39
lines changed

.github/workflows/test.yml

Lines changed: 39 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -2,49 +2,49 @@ name: Test Dotfiles
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:
1111
test:
1212
runs-on: macos-latest
13-
13+
1414
steps:
15-
- uses: actions/checkout@v4
16-
17-
- name: Set up Homebrew
18-
id: set-up-homebrew
19-
uses: Homebrew/actions/setup-homebrew@master
20-
21-
- name: Install dependencies
22-
run: |
23-
brew install bats-core yamllint shellcheck lua
24-
25-
- name: Set up Python
26-
uses: actions/setup-python@v5
27-
with:
28-
python-version: '3.12'
29-
30-
- name: Install Python dependencies
31-
run: |
32-
pip install uv
33-
uv venv
34-
source .venv/bin/activate
35-
uv pip install tomlcheck
36-
37-
- name: Run syntax validation tests
38-
run: |
39-
source .venv/bin/activate
40-
bats -r tests/syntax/
41-
42-
- name: Run functionality tests
43-
run: |
44-
source .venv/bin/activate
45-
bats -r tests/functionality/
46-
47-
- name: Run installation tests
48-
run: |
49-
source .venv/bin/activate
50-
bats -r tests/install/
15+
- uses: actions/checkout@v4
16+
17+
- name: Set up Homebrew
18+
id: set-up-homebrew
19+
uses: Homebrew/actions/setup-homebrew@master
20+
21+
- name: Install dependencies
22+
run: |
23+
brew install bats-core yamllint shellcheck lua
24+
25+
- name: Set up Python
26+
uses: actions/setup-python@v5
27+
with:
28+
python-version: '3.12'
29+
30+
- name: Install Python dependencies
31+
run: |
32+
pip install uv
33+
uv venv
34+
source .venv/bin/activate
35+
uv pip install tomlcheck
36+
37+
- name: Run syntax validation tests
38+
run: |
39+
source .venv/bin/activate
40+
bats -r tests/syntax/
41+
42+
- name: Run functionality tests
43+
run: |
44+
source .venv/bin/activate
45+
bats -r tests/functionality/
46+
47+
- name: Run installation tests
48+
run: |
49+
source .venv/bin/activate
50+
bats -r tests/install/

0 commit comments

Comments
 (0)