ci: only use runs-on
All checks were successful
submodules sync / sync (push) Successful in 49s
build / build (push) Successful in 1m23s
build / trigger-build-image (push) Successful in 8s

This commit is contained in:
张泊明518370910136 2025-02-09 13:07:36 -05:00
parent fb78026736
commit 61c9dcebb7
GPG Key ID: D47306D7062CDA9D
2 changed files with 3 additions and 6 deletions

View File

@ -4,8 +4,7 @@ on:
- pull_request
jobs:
build:
container:
image: focs.ji.sjtu.edu.cn:5000/gitea/runner-images:golang-ubuntu-latest
runs-on: golang-ubuntu-latest
steps:
- name: Check out repository code
uses: https://gitea.com/BoYanZh/checkout@focs
@ -33,8 +32,7 @@ jobs:
make prepare-test
make ci-test
trigger-build-image:
container:
image: focs.ji.sjtu.edu.cn:5000/gitea/runner-images:ubuntu-latest
runs-on: ubuntu-latest
needs: build
if: github.ref == 'refs/heads/master'
steps:

View File

@ -5,8 +5,7 @@ on:
- master
jobs:
sync:
container:
image: focs.ji.sjtu.edu.cn:5000/gitea/runner-images:ubuntu-latest
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: https://gitea.com/BoYanZh/checkout@focs