Add CI workflow
1 file+19−00/1 viewed
| 1 | + | # CI: what g1t checks on every pull request before it can merge. | |
| 2 | + | # Generated for this repository; change the steps to match how you build and test. | |
| 3 | + | # Require it in Settings > Branches and merging once it has run. | |
| 4 | + | name: CI | |
| 5 | + | ||
| 6 | + | on: | |
| 7 | + | pull_request: | |
| 8 | + | push: | |
| 9 | + | branches: ["main"] | |
| 10 | + | merge_group: | |
| 11 | + | ||
| 12 | + | jobs: | |
| 13 | + | check: | |
| 14 | + | runs-on: ubuntu-latest | |
| 15 | + | steps: | |
| 16 | + | - uses: actions/checkout@v5 | |
| 17 | + | # g1t could not tell how this project is built. Replace this step | |
| 18 | + | # with the commands that build and test it. | |
| 19 | + | - run: echo "Add the commands that build and test this project." && exit 1 |