Skip to content

Commit

Permalink
update action version & add devcontainer(#270)
Browse files Browse the repository at this point in the history
  • Loading branch information
tullyliu authored Oct 12, 2022
1 parent 1fda348 commit 882fab0
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 13 deletions.
11 changes: 11 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"name": "starlight-devcontainer",
"image": "mcr.microsoft.com/devcontainers/base:ubuntu", // Any generic, debian-based image.
"features": {
"ghcr.io/devcontainers/features/java:1": {
"version": "8",
"jdkDistro": "tem",
"installMaven": true
}
}
}
4 changes: 2 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
uses: actions/checkout@v3

- name: Setup Java JDK and Maven
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '8'
Expand All @@ -40,7 +40,7 @@ jobs:
languages: ${{ matrix.language }}

- name: Cache local Maven repository
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
uses: actions/checkout@v3

- name: Setup Java JDK and Maven
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '8'
Expand All @@ -27,7 +27,7 @@ jobs:
git config user.name "GitHub Actions"
- name: Cache local Maven repository
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/starlight-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
uses: actions/checkout@v3

- name: Setup Java JDK and Maven
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '8'
Expand All @@ -46,7 +46,7 @@ jobs:

- name: Generate changelog
id: changelog
uses: metcalfc/changelog-generator@v2.0.0
uses: metcalfc/changelog-generator@v3
with:
myToken: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -62,4 +62,4 @@ jobs:
### Things that changed in this release
${{ steps.changelog.outputs.changelog }}
draft: true
prerelease: false
prerelease: false
6 changes: 3 additions & 3 deletions .github/workflows/starlight-starter-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
uses: actions/checkout@v3

- name: Setup Java JDK and Maven
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '8'
Expand All @@ -46,7 +46,7 @@ jobs:

- name: Generate changelog
id: changelog
uses: metcalfc/changelog-generator@v2.0.0
uses: metcalfc/changelog-generator@v3
with:
myToken: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -62,4 +62,4 @@ jobs:
### Things that changed in this release
${{ steps.changelog.outputs.changelog }}
draft: true
prerelease: false
prerelease: false
6 changes: 3 additions & 3 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ jobs:
uses: actions/checkout@v3

- name: Setup Java JDK and Maven
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '8'

- name: Cache local Maven repository
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
Expand All @@ -33,4 +33,4 @@ jobs:
mvn -B verify --file spring-cloud-starter-baidu-starlight/pom.xml --no-transfer-progress
- name: Upload Coverage Report
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v3

0 comments on commit 882fab0

Please sign in to comment.