Skip to content

Commit 7f029d4

Browse files
committed
[update] CI/CD.
1 parent 9f981a1 commit 7f029d4

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: Build Swhkd
22

33
on: [push, pull_request]
4+
branches:
5+
- main
46

57
env:
68
CARGO_TERM_COLOR: always

.github/workflows/ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,16 @@ env:
66
CARGO_TERM_COLOR: always
77

88
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v2
15+
16+
- name: Build
17+
run: cargo build --release
18+
919
test:
1020
runs-on: ubuntu-latest
1121

0 commit comments

Comments
 (0)