forked from loafle/openapi-generator-original
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
38 lines
1.0 KiB
YAML
38 lines
1.0 KiB
YAML
name: Samples Elm
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- .github/workflows/samples-elm.yaml
|
|
- samples/client/petstore/elm/**
|
|
- samples/openapi3/client/elm/**
|
|
pull_request:
|
|
paths:
|
|
- .github/workflows/samples-elm.yaml
|
|
- samples/client/petstore/elm/**
|
|
- samples/openapi3/client/elm/**
|
|
jobs:
|
|
build:
|
|
name: Build Elm clients
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
sample:
|
|
# clients
|
|
- samples/client/petstore/elm
|
|
- samples/openapi3/client/elm
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
- uses: jorelali/setup-elm@v6
|
|
with:
|
|
elm-version: 0.19.1
|
|
- name: Build
|
|
working-directory: ${{ matrix.sample }}
|
|
# Try to compile all .elm files
|
|
# This fails if:
|
|
# An .elm file couldn't be compiled
|
|
# No .elm files were found
|
|
# No elm.json file could be found in the root of the working directory
|
|
run: elm make $(find . -name "*.elm") --output=/dev/null
|