Skip to content

Commit

Permalink
Fix CI for pull requests (#259)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulo-ferraz-oliveira committed Feb 29, 2024
1 parent 48f1d0c commit 0430fb6
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 4 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/action.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
---
name: action

on: [push, workflow_dispatch]
on:
push:
branches:
- main
pull_request:
branches:
- "*"
workflow_dispatch: {}

env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
Expand All @@ -27,6 +34,7 @@ jobs:
git add dist/index.js
git commit -m "Automation: update setup-beam version output to ${SHA}"
git push origin main
check_integrity:
name: Expected local npm actions
runs-on: ubuntu-latest
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/hexpm-mirrors.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
---
name: hexpm-mirrors

on: [push, workflow_dispatch]
on:
push:
branches:
- main
pull_request:
branches:
- "*"
workflow_dispatch: {}

jobs:
test-failing-first-mirror:
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
---
name: ubuntu

on: [push, workflow_dispatch]
on:
push:
branches:
- main
pull_request:
branches:
- "*"
workflow_dispatch: {}

jobs:
integration_test:
Expand Down Expand Up @@ -174,6 +181,7 @@ jobs:
mix escript.install --force ${{matrix.combo.escript_packages}}
${{matrix.combo.escript_script}}
if: ${{matrix.combo.escript_packages && matrix.combo.escript_script}}

environment_variables:
name: Environment variables
runs-on: ${{matrix.combo.os}}
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
---
name: windows

on: [push, workflow_dispatch]
on:
push:
branches:
- main
pull_request:
branches:
- "*"
workflow_dispatch: {}

jobs:
integration_test:
Expand Down Expand Up @@ -112,6 +119,7 @@ jobs:
mix escript.install --force ${{matrix.combo.escript_packages}}
${{matrix.combo.escript_script}}
if: ${{matrix.combo.escript_packages && matrix.combo.escript_script}}

environment_variables:
name: Environment variables
runs-on: ${{matrix.combo.os}}
Expand Down

0 comments on commit 0430fb6

Please sign in to comment.