Skip to content

Commit 50997cd

Browse files
committed
chore: collapse CI into a single job
1 parent ebc923c commit 50997cd

1 file changed

Lines changed: 7 additions & 44 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -5,65 +5,28 @@ on:
55
pull_request:
66

77
jobs:
8-
lint:
8+
ci:
99
timeout-minutes: 10
10-
name: lint
1110
runs-on: ubuntu-latest
1211
steps:
13-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
12+
- uses: actions/checkout@v6
1413

1514
- name: Install Rye
1615
run: |
1716
curl -sSf https://rye.astral.sh/get | bash
1817
echo "$HOME/.rye/shims" >> $GITHUB_PATH
1918
env:
20-
RYE_VERSION: '0.44.0'
21-
RYE_INSTALL_OPTION: '--yes'
19+
RYE_VERSION: "0.44.0"
20+
RYE_INSTALL_OPTION: "--yes"
2221

2322
- name: Install dependencies
2423
run: rye sync --all-features
2524

26-
- name: Run lints
25+
- name: Lint
2726
run: ./scripts/lint
2827

29-
build:
30-
timeout-minutes: 10
31-
name: build
32-
runs-on: ubuntu-latest
33-
steps:
34-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
35-
36-
- name: Install Rye
37-
run: |
38-
curl -sSf https://rye.astral.sh/get | bash
39-
echo "$HOME/.rye/shims" >> $GITHUB_PATH
40-
env:
41-
RYE_VERSION: '0.44.0'
42-
RYE_INSTALL_OPTION: '--yes'
43-
44-
- name: Install dependencies
45-
run: rye sync --all-features
46-
47-
- name: Run build
28+
- name: Build
4829
run: rye build
4930

50-
test:
51-
timeout-minutes: 10
52-
name: test
53-
runs-on: ubuntu-latest
54-
steps:
55-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
56-
57-
- name: Install Rye
58-
run: |
59-
curl -sSf https://rye.astral.sh/get | bash
60-
echo "$HOME/.rye/shims" >> $GITHUB_PATH
61-
env:
62-
RYE_VERSION: '0.44.0'
63-
RYE_INSTALL_OPTION: '--yes'
64-
65-
- name: Bootstrap
66-
run: ./scripts/bootstrap
67-
68-
- name: Run tests
31+
- name: Test
6932
run: ./scripts/test

0 commit comments

Comments
 (0)