1
0
mirror of synced 2024-11-30 08:36:04 +03:00
setup-ipsec-vpn/.github/workflows/main.yml

39 lines
986 B
YAML
Raw Normal View History

2021-03-29 23:05:45 +03:00
#
2022-01-02 09:09:03 +03:00
# Copyright (C) 2020-2022 Lin Song <linsongui@gmail.com>
2021-03-29 23:05:45 +03:00
#
# This work is licensed under the Creative Commons Attribution-ShareAlike 3.0
# Unported License: http://creativecommons.org/licenses/by-sa/3.0/
#
# Attribution required: please include my name in any derivative and let me
# know how you have improved it!
2022-04-25 07:43:42 +03:00
name: build
on:
push:
branches: [master]
paths:
- '**.sh'
- '.github/workflows/main.yml'
2022-02-07 01:41:39 +03:00
- '.github/workflows/shellcheck.yml'
- '.github/workflows/check_urls.yml'
- '.github/workflows/test_set_1.yml'
- '.github/workflows/test_set_2.yml'
jobs:
shellcheck:
2021-03-10 08:26:06 +03:00
if: github.repository_owner == 'hwdsl2'
2022-02-07 01:41:39 +03:00
uses: ./.github/workflows/shellcheck.yml
2021-06-04 06:09:56 +03:00
check_urls:
needs: shellcheck
2022-02-07 01:41:39 +03:00
uses: ./.github/workflows/check_urls.yml
2021-06-04 06:09:56 +03:00
test_set_1:
2021-06-04 06:09:56 +03:00
needs: [shellcheck, check_urls]
2022-02-07 01:41:39 +03:00
uses: ./.github/workflows/test_set_1.yml
test_set_2:
2021-06-04 06:09:56 +03:00
needs: [shellcheck, check_urls]
2022-02-07 01:41:39 +03:00
uses: ./.github/workflows/test_set_2.yml