diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 58e8169..b7ddbad 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -11,9 +11,7 @@ jobs: runs-on: docker-ubuntu steps: - uses: actions/checkout@v4 - - name: shellcheck - run: | - curl -fsSL https://github.com/koalaman/shellcheck/releases/download/v0.10.0/shellcheck-v0.10.0.linux.x86_64.tar.xz | tar -xJ -C "$RUNNER_TEMP" --strip-components=1 - "$RUNNER_TEMP/shellcheck" -x -S warning ./*.sh - - name: 建置映像檔 - run: docker build -t "action-test:$GITHUB_SHA" . + - uses: https://gitea.jsc.idv.tw/actions/action-ci@v0.0.1 + with: + go_test: false + docker_build: true diff --git a/README.md b/README.md index 9ab4e86..2fa36cc 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,6 @@ ## 開發 -`ci.yaml` 跑 shellcheck、、建置映像檔。 +`ci.yaml` 用共用的 [action-ci](https://gitea.jsc.idv.tw/actions/action-ci) 跑 shellcheck、映像檔建置。 圖示:`icon.svg`(Gitea 儲存庫頭像用 `icon.png`)。