File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414 runs-on : ubuntu-latest
1515 name : Build and Test
1616 steps :
17- - uses : actions/checkout@v4
17+ - uses : actions/checkout@v6
1818 - uses : moonrepo/setup-rust@v1
1919 - run : cargo build --all
2020 - run : cargo test --all
2323 runs-on : ubuntu-latest
2424 name : Check formatting
2525 steps :
26- - uses : actions/checkout@v4
26+ - uses : actions/checkout@v6
2727 - uses : moonrepo/setup-rust@v1
2828 with :
2929 components : rustfmt
Original file line number Diff line number Diff line change @@ -26,12 +26,12 @@ jobs:
2626 PASSED_VERSION : ${{ (github.event_name == 'repository_dispatch' && github.event.client_payload || fromJSON(inputs.json))['version'] }}
2727 VERSION_POSTPEND : ${{ github.event_name == 'workflow_dispatch' && inputs.version_postfix || '' }}
2828 steps :
29- - uses : actions/setup-node@v4
29+ - uses : actions/setup-node@v6
3030 with :
3131 node-version : 22
32- - uses : actions/checkout@v4
32+ - uses : actions/checkout@v6
3333 - name : ' Cache node_modules'
34- uses : actions/cache@v4
34+ uses : actions/cache@v6
3535 with :
3636 path : node_modules
3737 key : ${{ runner.os }}-node-v22-${{ hashFiles('**/generate.sh') }}
4242 - name : Set OpenAPI Generator version
4343 run : ./node_modules/\@openapitools/openapi-generator-cli/main.js version-manager set 7.21.0
4444 - name : Set up JDK 20
45- uses : actions/setup-java@v4
45+ uses : actions/setup-java@v5
4646 with :
4747 java-version : ' 20'
4848 distribution : ' adopt'
8080 folder : .
8181 commit-message : " Upgrade Rust SDK to spec ${{ env.PASSED_VERSION }}${{env.VERSION_POSTPEND}}"
8282 - name : Deploy to Crates.io
83- uses : katyo/publish-crates@v2
84- with :
85- registry-token : ${{ secrets.CARGO_REGISTRY_TOKEN }}
86- args : --allow-dirty
83+ run : cargo publish
84+ env :
85+ CARGO_REGISTRY_TOKEN : ${{ secrets.CARGO_REGISTRY_TOKEN }}
You can’t perform that action at this time.
0 commit comments