diff options
author | Goooler <wangzongler@gmail.com> | 2022-03-24 20:56:06 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-24 15:56:06 +0300 |
commit | ea4a3bf6c55da8b6cf1dde144d8d2ae854b80243 (patch) | |
tree | 28f35d41c6928d387ca6df78308263ce2d441a73 /.github/workflows/check.yml | |
parent | dd0fd03ea37554d79a02a8c6bcfd5f081dc6a1e1 (diff) | |
download | dokka-ea4a3bf6c55da8b6cf1dde144d8d2ae854b80243.tar.gz dokka-ea4a3bf6c55da8b6cf1dde144d8d2ae854b80243.tar.bz2 dokka-ea4a3bf6c55da8b6cf1dde144d8d2ae854b80243.zip |
Optimize CI a bit (#2385)
* Bump actions/checkout to v3
* Bump actions/setup-java to v3
* Use gradle-build-action
* Merge validation into check.yml
* Reformat
* Trim blank lines
* Use https
* Cleanup
* Fix
* Remove names
* Cleanup
* Rename validate to validate-wrapper
* Use cirrus-actions/rebase@v1.5
* Use cirrus-actions/rebase@1.5
Diffstat (limited to '.github/workflows/check.yml')
-rw-r--r-- | .github/workflows/check.yml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml new file mode 100644 index 00000000..04b3cb72 --- /dev/null +++ b/.github/workflows/check.yml @@ -0,0 +1,22 @@ +name: Check + +on: pull_request + +jobs: + validate-wrapper: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: gradle/wrapper-validation-action@v1 + + apiCheck: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-java@v3 + with: + distribution: 'zulu' + java-version: 11 + - uses: gradle/gradle-build-action@v2 + with: + arguments: apiCheck --stacktrace |