Skip to content

chore(deps): update actions/checkout digest to b4ffde6 #94

chore(deps): update actions/checkout digest to b4ffde6

chore(deps): update actions/checkout digest to b4ffde6 #94

Workflow file for this run

name: Run Checks
on:
- push
- pull_request
jobs:
smoke-test-url:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
- uses: openapi-generators/openapitools-generator-action@v1
with:
generator: rust
config-file: test_data/config.yml
openapi-url: https://raw.githubusercontent.com/openapi-generators/openapi-python-client/main/end_to_end_tests/openapi.json
- run: cd rust-client
smoke-test-file:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
- uses: openapi-generators/openapitools-generator-action@v1
with:
generator: rust
config-file: test_data/config.yml
openapi-file: test_data/openapi.json
- run: cd rust-client
smoke-test-absolute-file:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
- uses: openapi-generators/openapitools-generator-action@v1
with:
generator: rust
config-file: test_data/config.yml
openapi-file: /github/workspace/test_data/openapi.json
- run: cd rust-client
smoke-test-absolute-config:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
- uses: openapi-generators/openapitools-generator-action@v1
with:
generator: rust
config-file: /github/workspace/test_data/config.yml
openapi-file: test_data/openapi.json
- run: cd rust-client
smoke-test-template:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
- uses: openapi-generators/openapitools-generator-action@v1
with:
generator: rust
config-file: test_data/config.yml
openapi-file: test_data/openapi.json
template-dir: test_data/templates/rust/
- run: cd rust-client
smoke-test-absolute-template:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
- uses: openapi-generators/openapitools-generator-action@v1
with:
generator: rust
config-file: test_data/config.yml
openapi-file: test_data/openapi.json
template-dir: /github/workspace/test_data/templates/rust/
- run: cd rust-client
test-openapi-version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
- uses: openapi-generators/openapitools-generator-action@v1
with:
generator: rust
config-file: test_data/config.yml
openapi-file: test_data/openapi.json
generator-tag: v5.0.0
- run: cd rust-client
test-no-config:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
- uses: openapi-generators/openapitools-generator-action@v1
with:
generator: rust
openapi-file: test_data/openapi.json
- run: cd rust-client
test-command-args:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
- uses: openapi-generators/openapitools-generator-action@v1
with:
generator: rust
openapi-file: test_data/openapi.json
command-args: --model-name-prefix=BLAH
- run: test -f rust-client/src/models/blah_a_model.rs