mirror of
https://github.com/valitydev/java-workflow.git
synced 2024-11-06 01:25:18 +00:00
bump github actions (#32)
- update setup-java from v2 to v3 - update checkout from v2 to v3
This commit is contained in:
parent
804f75834b
commit
04613e94c4
4
.github/workflows/erlang-thrift-build.yml
vendored
4
.github/workflows/erlang-thrift-build.yml
vendored
@ -8,7 +8,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- uses: valitydev/action-setup-thrift@v0.0.5
|
||||
with:
|
||||
@ -31,4 +31,4 @@ jobs:
|
||||
|
||||
- run: rebar3 compile
|
||||
- run: rebar3 xref
|
||||
- run: rebar3 dialyzer
|
||||
- run: rebar3 dialyzer
|
||||
|
10
.github/workflows/maven-library-build.yml
vendored
10
.github/workflows/maven-library-build.yml
vendored
@ -19,10 +19,10 @@ jobs:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: Checkout Repo
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Set up JDK
|
||||
uses: actions/setup-java@v2
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: ${{ inputs.java-version }}
|
||||
distribution: ${{ inputs.java-distribution }}
|
||||
@ -35,10 +35,10 @@ jobs:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: Checkout Repo
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Set up JDK
|
||||
uses: actions/setup-java@v2
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: ${{ inputs.java-version }}
|
||||
distribution: ${{ inputs.java-distribution }}
|
||||
@ -48,4 +48,4 @@ jobs:
|
||||
run: mvn --batch-mode clean verify
|
||||
|
||||
- name: Upload code coverage
|
||||
uses: codecov/codecov-action@v3
|
||||
uses: codecov/codecov-action@v3
|
||||
|
8
.github/workflows/maven-library-deploy.yml
vendored
8
.github/workflows/maven-library-deploy.yml
vendored
@ -30,7 +30,7 @@ jobs:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: Checkout Repo
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Deploy package
|
||||
uses: valitydev/action-deploy-jdk-package@v1.0.14
|
||||
@ -54,10 +54,10 @@ jobs:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: Checkout Repo
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Set up JDK
|
||||
uses: actions/setup-java@v2
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: ${{ inputs.java-version }}
|
||||
distribution: ${{ inputs.java-distribution }}
|
||||
@ -67,4 +67,4 @@ jobs:
|
||||
run: mvn --batch-mode clean verify
|
||||
|
||||
- name: Upload code coverage
|
||||
uses: codecov/codecov-action@v3
|
||||
uses: codecov/codecov-action@v3
|
||||
|
6
.github/workflows/maven-service-build.yml
vendored
6
.github/workflows/maven-service-build.yml
vendored
@ -28,7 +28,7 @@ jobs:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: Checkout Repo
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Run Build Java
|
||||
uses: valitydev/action-jdk-build@v0.0.8
|
||||
@ -42,7 +42,7 @@ jobs:
|
||||
if: ${{ !inputs.ignore-coverage }}
|
||||
steps:
|
||||
- name: Checkout Repo
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Run Build Java
|
||||
uses: valitydev/action-jdk-build@v0.0.8
|
||||
@ -52,4 +52,4 @@ jobs:
|
||||
mvn-args: ${{ inputs.mvn-args }}
|
||||
|
||||
- name: Upload code coverage
|
||||
uses: codecov/codecov-action@v3
|
||||
uses: codecov/codecov-action@v3
|
||||
|
4
.github/workflows/maven-service-deploy.yml
vendored
4
.github/workflows/maven-service-deploy.yml
vendored
@ -33,7 +33,7 @@ jobs:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: Checkout Repo
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Run Build Java
|
||||
uses: valitydev/action-jdk-build@v0.0.8
|
||||
@ -64,7 +64,7 @@ jobs:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: Checkout Repo
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Run Build Java
|
||||
uses: valitydev/action-jdk-build@v0.0.8
|
||||
|
6
.github/workflows/maven-swag-build.yml
vendored
6
.github/workflows/maven-swag-build.yml
vendored
@ -24,10 +24,10 @@ jobs:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Setup Maven
|
||||
uses: actions/setup-java@v2
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: ${{ inputs.java-version }}
|
||||
distribution: ${{ inputs.java-distribution }}
|
||||
@ -51,4 +51,4 @@ jobs:
|
||||
run: mvn --batch-mode clean package -f pom.xml -P="server"
|
||||
|
||||
- name: Build client jar
|
||||
run: mvn --batch-mode clean package -f pom.xml -P="client"
|
||||
run: mvn --batch-mode clean package -f pom.xml -P="client"
|
||||
|
8
.github/workflows/maven-swag-deploy.yml
vendored
8
.github/workflows/maven-swag-deploy.yml
vendored
@ -32,7 +32,7 @@ jobs:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: Checkout Repo
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
@ -64,7 +64,7 @@ jobs:
|
||||
needs: [build]
|
||||
steps:
|
||||
- name: Checkout Repo
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
@ -98,7 +98,7 @@ jobs:
|
||||
needs: [build]
|
||||
steps:
|
||||
- name: Checkout Repo
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
@ -132,7 +132,7 @@ jobs:
|
||||
needs: [build]
|
||||
steps:
|
||||
- name: Checkout Repo
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v2
|
||||
|
4
.github/workflows/maven-thrift-build.yml
vendored
4
.github/workflows/maven-thrift-build.yml
vendored
@ -21,11 +21,11 @@ jobs:
|
||||
- name: Install thrift
|
||||
uses: valitydev/action-setup-thrift@v0.0.5
|
||||
- name: Checkout Repo
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Set up Maven
|
||||
uses: actions/setup-java@v2
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: ${{ inputs.java-version }}
|
||||
distribution: ${{ inputs.java-distribution }}
|
||||
|
4
.github/workflows/maven-thrift-deploy.yml
vendored
4
.github/workflows/maven-thrift-deploy.yml
vendored
@ -21,7 +21,7 @@ jobs:
|
||||
- name: Install thrift
|
||||
uses: valitydev/action-setup-thrift@v0.0.5
|
||||
- name: Checkout Repo
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Retrieve commit info
|
||||
@ -48,4 +48,4 @@ jobs:
|
||||
SLACK_WEBHOOK: ${{ secrets.mm-webhook-url }}
|
||||
SLACK_COLOR: ${{ job.status }}
|
||||
SLACK_LINK_NAMES: true
|
||||
SLACK_FOOTER: ""
|
||||
SLACK_FOOTER: ""
|
||||
|
Loading…
Reference in New Issue
Block a user