Skip to content

Commit fc43754

Browse files
authored
fix: Update GitHub Actions and Smithy version check URL (#251)
- Update Smithy version check URL from awslabs/smithy to smithy-lang/smithy (repo moved to smithy-lang org) - Bump actions/checkout from v2/v3 to v4 - Bump actions/setup-java from v1 to v4 with distribution: corretto (fixes macOS ARM runner compatibility)
1 parent ee95de3 commit fc43754

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,13 @@ jobs:
2121
os: [ubuntu-latest, windows-latest, macos-latest]
2222

2323
steps:
24-
- uses: actions/checkout@v2
24+
- uses: actions/checkout@v4
2525

2626
- name: Set up JDK ${{ matrix.java }}
27-
uses: actions/setup-java@v1
27+
uses: actions/setup-java@v4
2828
with:
2929
java-version: ${{ matrix.java }}
30+
distribution: corretto
3031

3132
- name: Clean and build
3233
run: ./gradlew clean build -Plog-tests

.github/workflows/update-smithy-version.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ jobs:
1414
runs-on: ubuntu-latest
1515
if: github.repository == 'smithy-lang/smithy-language-server'
1616
steps:
17-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v4
1818

1919
- name: Fetch latest smithy version
2020
id: fetch-latest
2121
run: |
2222
echo "latestSmithy=$( \
23-
curl -sL https://api.github.com/repos/awslabs/smithy/releases/latest | \
23+
curl -sL https://api.github.com/repos/smithy-lang/smithy/releases/latest | \
2424
jq -r '.tag_name')" >> $GITHUB_OUTPUT
2525
2626
- name: Get current versions

0 commit comments

Comments
 (0)