Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/check_pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
name: Build and Test
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: moonrepo/setup-rust@v1
- run: cargo build --all
- run: cargo test --all
Expand All @@ -23,7 +23,7 @@ jobs:
runs-on: ubuntu-latest
name: Check formatting
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: moonrepo/setup-rust@v1
with:
components: rustfmt
Expand Down
15 changes: 7 additions & 8 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ jobs:
PASSED_VERSION: ${{ (github.event_name == 'repository_dispatch' && github.event.client_payload || fromJSON(inputs.json))['version'] }}
VERSION_POSTPEND: ${{ github.event_name == 'workflow_dispatch' && inputs.version_postfix || '' }}
steps:
- uses: actions/setup-node@v4
- uses: actions/setup-node@v6
with:
node-version: 22
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: 'Cache node_modules'
uses: actions/cache@v4
uses: actions/cache@v6
with:
path: node_modules
key: ${{ runner.os }}-node-v22-${{ hashFiles('**/generate.sh') }}
Expand All @@ -42,7 +42,7 @@ jobs:
- name: Set OpenAPI Generator version
run: ./node_modules/\@openapitools/openapi-generator-cli/main.js version-manager set 7.21.0
- name: Set up JDK 20
uses: actions/setup-java@v4
uses: actions/setup-java@v5
with:
java-version: '20'
distribution: 'adopt'
Expand Down Expand Up @@ -80,7 +80,6 @@ jobs:
folder: .
commit-message: "Upgrade Rust SDK to spec ${{ env.PASSED_VERSION }}${{env.VERSION_POSTPEND}}"
- name: Deploy to Crates.io
uses: katyo/publish-crates@v2
with:
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
args: --allow-dirty
run: cargo publish
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}