diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8e32b24..f00cd8e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,15 +46,31 @@ jobs: - run: .test/test.sh --deploy - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v7 with: - name: coverage + name: coverage-bundle path: | .test/.coverage/coverage.* .test/.coverage/GOCOVERDIR/ include-hidden-files: true if-no-files-found: error + - uses: actions/upload-artifact@v7 + with: + name: coverage.html + archive: false + path: .test/.coverage/coverage.html + include-hidden-files: true + if-no-files-found: error + + - uses: actions/upload-artifact@v7 + with: + name: coverage.txt + archive: false + path: .test/.coverage/coverage.txt + include-hidden-files: true + if-no-files-found: error + - name: gofmt run: find -name '*.go' -type f -exec ./.go-env.sh gofmt -l -s -w '{}' +