Skip to content

Commit

Permalink
Update some github actions as they are already deprecated (#378)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszwawrzyk authored Apr 29, 2024
1 parent 2a718fe commit 7417548
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dependencies-force.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
bazel-steward:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: VirtusLab/bazel-steward@latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
bazel-steward:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: VirtusLab/bazel-steward@latest
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: "ubuntu-latest"

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- run: bazel build //app:app_deploy.jar
name: Build project and jar
- run: mv bazel-bin/app/app_deploy.jar bazel-steward.jar
Expand All @@ -28,7 +28,7 @@ jobs:
runs-on: "ubuntu-latest"
if: github.ref_type == 'tag'
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Import GPG key
uses: crazy-max/ghaction-import-gpg@v5
with:
Expand All @@ -47,7 +47,7 @@ jobs:
if: github.ref_type == 'tag'
needs: tagged-release
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: |
Expand Down
19 changes: 11 additions & 8 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@ jobs:
unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 11
- name: Cache Bazel
uses: actions/cache@v3
Expand All @@ -30,10 +31,11 @@ jobs:
integration-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 11
- name: Cache Bazel
uses: actions/cache@v3
Expand All @@ -48,10 +50,11 @@ jobs:
klint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 11
- name: Cache Bazel
uses: actions/cache@v3
Expand All @@ -66,7 +69,7 @@ jobs:
docker-build-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Integration tests
Expand All @@ -77,6 +80,6 @@ jobs:
buildifier:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: agluszak/[email protected]
- run: git diff --exit-code
1 change: 1 addition & 0 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ runs:
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
distribution: 'temurin'
java-version: 11
- name: Download release
if: ${{ inputs.use-release == 'true' }}
Expand Down

0 comments on commit 7417548

Please sign in to comment.