Skip to content

Commit

Permalink
chore(deps): update all github actions to v2 (major) (#10)
Browse files Browse the repository at this point in the history
Co-authored-by: Peter Trifanov <peter.trifanov@mail.ru>
  • Loading branch information
renovate[bot] and petertrr authored Nov 28, 2021
1 parent 2efb0d6 commit 0faa9c8
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 11 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,14 @@ jobs:

steps:
# actions/checkout v1.* is needed for correct codecov upload, see https://github.com/actions/checkout/issues/237 for details
- uses: actions/checkout@v1
- uses: actions/checkout@v2
# ensure that gradle wrapper files in repository are valid by checking checksums
- uses: gradle/wrapper-validation-action@v1
- name: Set up JDK 11
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
java-version: 1.11
distribution: zulu
java-version: 11
- uses: burrunan/gradle-cache-action@v1
name: Gradle build with caches caching
with:
Expand All @@ -33,7 +34,7 @@ jobs:
path: '**/build/reports/'
- name: Code coverage report
# disabled until repo is private
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v2
with:
flags: unittests
fail_ci_if_error: true # optional (default = false)
17 changes: 10 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v2.3.3
- name: Set up JDK 11
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
java-version: 1.11
distribution: zulu
java-version: 11
- uses: burrunan/gradle-cache-action@v1
name: Gradle release with caches caching
with:
Expand All @@ -43,9 +44,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v2.3.3
- name: Set up JDK 11
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
java-version: 1.11
distribution: zulu
java-version: 11
- uses: burrunan/gradle-cache-action@v1
name: Gradle release with caches caching
with:
Expand All @@ -58,11 +60,12 @@ jobs:
- name: Checkout
uses: actions/checkout@v2.3.3
- name: Set up JDK 11
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
java-version: 1.11
distribution: zulu
java-version: 11
- uses: burrunan/gradle-cache-action@v1
name: Gradle release with caches caching
with:
arguments: publishToSonatype closeSonatypeStagingRepository
gradle-version: wrapper
gradle-version: wrapper

0 comments on commit 0faa9c8

Please sign in to comment.