Skip to content

Commit 3b4998b

Browse files
authored
Merge pull request #34 from EliahKagan/run-ci/gha
Make CI easier to read and run, and update it with Dependabot
2 parents 964a86b + 12addb4 commit 3b4998b

File tree

2 files changed

+31
-18
lines changed

2 files changed

+31
-18
lines changed

.github/dependabot.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: github-actions
4+
directory: '/'
5+
schedule:
6+
interval: weekly
7+
groups:
8+
github-actions:
9+
patterns: ['*']

.github/workflows/ci.yml

Lines changed: 22 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,13 @@ name: CI
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches:
6+
- main
7+
- "run-ci/**"
8+
- "**/run-ci/**"
69
pull_request:
7-
branches: [ main ]
10+
branches:
11+
- main
812

913
jobs:
1014
build-and-test-linux:
@@ -28,19 +32,19 @@ jobs:
2832
build-and-test-on-windows:
2933
runs-on: windows-latest
3034
steps:
31-
- uses: actions/checkout@v1
32-
- uses: actions-rs/toolchain@v1
33-
with:
34-
profile: default
35-
toolchain: stable
36-
override: true
37-
- name: "Check (crossterm)"
38-
uses: actions-rs/cargo@v1
39-
with:
40-
command: check
41-
args: --features=render-tui,render-tui-crossterm,render-line,render-line-crossterm,signal-hook,render-line-autoconfigure,progress-tree --all --bins --tests --examples
42-
- name: "Test (crossterm)"
43-
uses: actions-rs/cargo@v1
44-
with:
45-
command: test
46-
args: --features=render-tui,render-tui-crossterm,render-line,render-line-crossterm,signal-hook,render-line-autoconfigure,progress-tree progress-tree" --all
35+
- uses: actions/checkout@v1
36+
- uses: actions-rs/toolchain@v1
37+
with:
38+
profile: default
39+
toolchain: stable
40+
override: true
41+
- name: "Check (crossterm)"
42+
uses: actions-rs/cargo@v1
43+
with:
44+
command: check
45+
args: --features=render-tui,render-tui-crossterm,render-line,render-line-crossterm,signal-hook,render-line-autoconfigure,progress-tree --all --bins --tests --examples
46+
- name: "Test (crossterm)"
47+
uses: actions-rs/cargo@v1
48+
with:
49+
command: test
50+
args: --features=render-tui,render-tui-crossterm,render-line,render-line-crossterm,signal-hook,render-line-autoconfigure,progress-tree progress-tree" --all

0 commit comments

Comments
 (0)