mirror of
https://github.com/erlef/setup-beam.git
synced 2026-07-23 07:06:07 +00:00
Fix CI for pull requests (#259)
This commit is contained in:
@@ -1,7 +1,14 @@
|
|||||||
---
|
---
|
||||||
name: action
|
name: action
|
||||||
|
|
||||||
on: [push, workflow_dispatch]
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- "*"
|
||||||
|
workflow_dispatch: {}
|
||||||
|
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||||
@@ -27,6 +34,7 @@ jobs:
|
|||||||
git add dist/index.js
|
git add dist/index.js
|
||||||
git commit -m "Automation: update setup-beam version output to ${SHA}"
|
git commit -m "Automation: update setup-beam version output to ${SHA}"
|
||||||
git push origin main
|
git push origin main
|
||||||
|
|
||||||
check_integrity:
|
check_integrity:
|
||||||
name: Expected local npm actions
|
name: Expected local npm actions
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
@@ -1,7 +1,14 @@
|
|||||||
---
|
---
|
||||||
name: hexpm-mirrors
|
name: hexpm-mirrors
|
||||||
|
|
||||||
on: [push, workflow_dispatch]
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- "*"
|
||||||
|
workflow_dispatch: {}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test-failing-first-mirror:
|
test-failing-first-mirror:
|
||||||
|
|||||||
@@ -1,7 +1,14 @@
|
|||||||
---
|
---
|
||||||
name: ubuntu
|
name: ubuntu
|
||||||
|
|
||||||
on: [push, workflow_dispatch]
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- "*"
|
||||||
|
workflow_dispatch: {}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
integration_test:
|
integration_test:
|
||||||
@@ -174,6 +181,7 @@ jobs:
|
|||||||
mix escript.install --force ${{matrix.combo.escript_packages}}
|
mix escript.install --force ${{matrix.combo.escript_packages}}
|
||||||
${{matrix.combo.escript_script}}
|
${{matrix.combo.escript_script}}
|
||||||
if: ${{matrix.combo.escript_packages && matrix.combo.escript_script}}
|
if: ${{matrix.combo.escript_packages && matrix.combo.escript_script}}
|
||||||
|
|
||||||
environment_variables:
|
environment_variables:
|
||||||
name: Environment variables
|
name: Environment variables
|
||||||
runs-on: ${{matrix.combo.os}}
|
runs-on: ${{matrix.combo.os}}
|
||||||
|
|||||||
@@ -1,7 +1,14 @@
|
|||||||
---
|
---
|
||||||
name: windows
|
name: windows
|
||||||
|
|
||||||
on: [push, workflow_dispatch]
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- "*"
|
||||||
|
workflow_dispatch: {}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
integration_test:
|
integration_test:
|
||||||
@@ -112,6 +119,7 @@ jobs:
|
|||||||
mix escript.install --force ${{matrix.combo.escript_packages}}
|
mix escript.install --force ${{matrix.combo.escript_packages}}
|
||||||
${{matrix.combo.escript_script}}
|
${{matrix.combo.escript_script}}
|
||||||
if: ${{matrix.combo.escript_packages && matrix.combo.escript_script}}
|
if: ${{matrix.combo.escript_packages && matrix.combo.escript_script}}
|
||||||
|
|
||||||
environment_variables:
|
environment_variables:
|
||||||
name: Environment variables
|
name: Environment variables
|
||||||
runs-on: ${{matrix.combo.os}}
|
runs-on: ${{matrix.combo.os}}
|
||||||
|
|||||||
Reference in New Issue
Block a user