forked from loafle/openapi-generator-original
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [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/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout 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>
36 lines
1.0 KiB
YAML
36 lines
1.0 KiB
YAML
name: Samples Erlang
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
# comment out due to errors
|
|
# ===> Compiling src/openapi_pet_handler.erl failed
|
|
# src/openapi_pet_handler.erl:278: function is_authorized/2 already defined
|
|
#- samples/server/petstore/erlang-server/**
|
|
- samples/client/petstore/erlang-client/**
|
|
- samples/client/petstore/erlang-proper/**
|
|
pull_request:
|
|
paths:
|
|
#- samples/server/petstore/erlang-server/**
|
|
- samples/client/petstore/erlang-client/**
|
|
- samples/client/petstore/erlang-proper/**
|
|
jobs:
|
|
build:
|
|
name: Build Erlang projects
|
|
runs-on: ubuntu-20.04
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
sample:
|
|
#- samples/server/petstore/erlang-server/
|
|
- samples/client/petstore/erlang-client/
|
|
- samples/client/petstore/erlang-proper/
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: erlef/setup-beam@v1
|
|
with:
|
|
otp-version: '22.2'
|
|
rebar3-version: '3.14.3'
|
|
- run: rebar3 compile
|
|
working-directory: ${{ matrix.sample }}
|