Skip to content

Swift workflow#12

Open
lvalenta wants to merge 1 commit into
mainfrom
swift-workflow
Open

Swift workflow#12
lvalenta wants to merge 1 commit into
mainfrom
swift-workflow

Conversation

@lvalenta

Copy link
Copy Markdown
Owner

No description provided.

@lvalenta lvalenta self-assigned this Feb 17, 2025
@lvalenta
lvalenta requested a review from svastven February 17, 2025 13:49

on:
push:
branches: [ "master" ]

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be "main"

push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"main"

run: swift build -v

- name: Run tests
run: swift test -v

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would also recommend adding

concurrency:                                 
    group: ${{ github.workflow }}-${{ github.ref }}                                                                                                                                                                         
    cancel-in-progress: true

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

Successfully merging this pull request may close these issues.

2 participants