mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-24 01:50:19 +08:00
add ci
This commit is contained in:
parent
f6374f6aa9
commit
a84da7ac57
2
.github/workflows/develop_ci.yml
vendored
2
.github/workflows/develop_ci.yml
vendored
@ -12,6 +12,8 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
ref: ${{ github.head_ref }}
|
||||
|
||||
- name: Test
|
||||
run: |
|
||||
|
20
.github/workflows/main_ci.yml
vendored
Normal file
20
.github/workflows/main_ci.yml
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
name: Pull Request Workflow
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
ref: ${{ github.head_ref }}
|
||||
|
||||
- name: Test
|
||||
run: |
|
||||
cat README.md && cat version.json
|
Loading…
Reference in New Issue
Block a user