diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index fcc135f..228fddd 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -11,10 +11,9 @@ jobs: runs-on: docker-ubuntu steps: - uses: actions/checkout@v4 - - uses: https://gitea.jsc.idv.tw/actions/action-ci@v0.0.1 + - uses: https://gitea.jsc.idv.tw/actions/action-ci@v0.0.2 with: - go_test: false - docker_build: false - - uses: ./ - with: - command: echo ok && git --version && make --version | head -n 1 + docker_build: true + docker_run_args: | + echo ok && git --version && make --version | head -n 1 + docker_run_expect: ok diff --git a/README.md b/README.md index 471de06..919821c 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,6 @@ ## 開發 -`ci.yaml` 用共用的 [action-ci](https://gitea.jsc.idv.tw/actions/action-ci) 跑 shellcheck,並用 `uses: ./` 實際執行一次(同時檢查映像檔建得起來)。 +`ci.yaml` 用共用的 [action-ci](https://gitea.jsc.idv.tw/actions/action-ci) 跑 shellcheck,並建置映像檔、實際執行一次。 圖示:`icon.svg`(Gitea 儲存庫頭像用 `icon.png`)。