Skip to content

Commit 176e24b

Browse files
committed
Update workflows
1 parent b11f35c commit 176e24b

2 files changed

Lines changed: 60 additions & 0 deletions

File tree

.github/workflows/test-alpine.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
#
2+
# Copyright (C) 2020-2026 Lin Song <linsongui@gmail.com>
3+
#
4+
# This work is licensed under the Creative Commons Attribution-ShareAlike 3.0
5+
# Unported License: http://creativecommons.org/licenses/by-sa/3.0/
6+
#
7+
# Attribution required: please include my name in any derivative and let me
8+
# know how you have improved it!
9+
10+
name: test alpine
11+
12+
on:
13+
workflow_dispatch:
14+
push:
15+
branches: [master]
16+
paths:
17+
- '.github/workflows/test-alpine.yml'
18+
- '.github/workflows/shellcheck.yml'
19+
- '.github/workflows/vpn_test.yml'
20+
21+
jobs:
22+
shellcheck:
23+
if: github.repository_owner == 'hwdsl2'
24+
uses: ./.github/workflows/shellcheck.yml
25+
26+
vpn_test:
27+
if: github.repository_owner == 'hwdsl2'
28+
uses: ./.github/workflows/vpn_test.yml
29+
with:
30+
os_type: alpine

.github/workflows/test-debian.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
#
2+
# Copyright (C) 2020-2026 Lin Song <linsongui@gmail.com>
3+
#
4+
# This work is licensed under the Creative Commons Attribution-ShareAlike 3.0
5+
# Unported License: http://creativecommons.org/licenses/by-sa/3.0/
6+
#
7+
# Attribution required: please include my name in any derivative and let me
8+
# know how you have improved it!
9+
10+
name: test debian
11+
12+
on:
13+
workflow_dispatch:
14+
push:
15+
branches: [master]
16+
paths:
17+
- '.github/workflows/test-debian.yml'
18+
- '.github/workflows/shellcheck.yml'
19+
- '.github/workflows/vpn_test.yml'
20+
21+
jobs:
22+
shellcheck:
23+
if: github.repository_owner == 'hwdsl2'
24+
uses: ./.github/workflows/shellcheck.yml
25+
26+
vpn_test:
27+
if: github.repository_owner == 'hwdsl2'
28+
uses: ./.github/workflows/vpn_test.yml
29+
with:
30+
os_type: debian

0 commit comments

Comments
 (0)