This commit is contained in:
@@ -11,10 +11,10 @@ jobs:
|
|||||||
runs-on: docker-ubuntu
|
runs-on: docker-ubuntu
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: shellcheck
|
- uses: https://gitea.jsc.idv.tw/actions/action-ci@v0.0.1
|
||||||
run: |
|
with:
|
||||||
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
|
go_test: false
|
||||||
"$RUNNER_TEMP/shellcheck" -x -S warning ./*.sh
|
docker_build: false
|
||||||
- uses: ./
|
- uses: ./
|
||||||
with:
|
with:
|
||||||
command: echo ok && git --version && make --version | head -n 1
|
command: echo ok && git --version && make --version | head -n 1
|
||||||
|
|||||||
@@ -20,6 +20,6 @@
|
|||||||
|
|
||||||
## 開發
|
## 開發
|
||||||
|
|
||||||
`ci.yaml` 跑 shellcheck、、建置映像檔,並用 `uses: ./` 實際執行一次。
|
`ci.yaml` 用共用的 [action-ci](https://gitea.jsc.idv.tw/actions/action-ci) 跑 shellcheck,並用 `uses: ./` 實際執行一次(同時檢查映像檔建得起來)。
|
||||||
|
|
||||||
圖示:`icon.svg`(Gitea 儲存庫頭像用 `icon.png`)。
|
圖示:`icon.svg`(Gitea 儲存庫頭像用 `icon.png`)。
|
||||||
|
|||||||
Reference in New Issue
Block a user