setup-ipsec-vpn/.github/workflows/main.yml

39 lines
986 B
YAML
Raw Normal View History

2021-03-29 22:05:45 +02:00
#
2023-01-05 01:58:29 +01:00
# Copyright (C) 2020-2023 Lin Song <linsongui@gmail.com>
2021-03-29 22:05:45 +02: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 06:43:42 +02:00
name: build
on:
push:
branches: [master]
paths:
- '**.sh'
- '.github/workflows/main.yml'
2022-02-06 23:41:39 +01: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 06:26:06 +01:00
if: github.repository_owner == 'hwdsl2'
2022-02-06 23:41:39 +01:00
uses: ./.github/workflows/shellcheck.yml
2021-06-04 05:09:56 +02:00
check_urls:
needs: shellcheck
2022-02-06 23:41:39 +01:00
uses: ./.github/workflows/check_urls.yml
2021-06-04 05:09:56 +02:00
test_set_1:
2021-06-04 05:09:56 +02:00
needs: [shellcheck, check_urls]
2022-02-06 23:41:39 +01:00
uses: ./.github/workflows/test_set_1.yml
test_set_2:
2021-06-04 05:09:56 +02:00
needs: [shellcheck, check_urls]
2022-02-06 23:41:39 +01:00
uses: ./.github/workflows/test_set_2.yml