Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ports not being parsed correctly #95

Closed
pjmartorell opened this issue Feb 22, 2020 · 2 comments
Closed

ports not being parsed correctly #95

pjmartorell opened this issue Feb 22, 2020 · 2 comments

Comments

@pjmartorell
Copy link

Is not parsing ports correctly, as far as I know is a valid syntax:

> act -l
Error: yaml: unmarshal errors:
  line 13: cannot unmarshal !!str `5432:5432` into int

Failing yml:

name: Ruby

on: [push]

jobs:
  build:

    runs-on: ubuntu-latest

    services:
      postgres:
        image: postgres:11.5
        ports:
          - 5432:5432
        options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5

@cplee cplee closed this as completed in ead2ab4 Feb 25, 2020
@cplee
Copy link
Contributor

cplee commented Feb 25, 2020

Fixed the parsing of yaml, but currently services: is not supported by act. Very doable, but just trying to get a stable release out for now.

@mced
Copy link

mced commented Mar 31, 2020

Hi @cplee, do you have any eta on this ? Or a hack to iterate locally on workflows which require services ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants