neiam /action-setup-beam
action-setup-beam
public · Issues · Pulls · Labels · Forks · Compare · Actions queued
⭐
Log in to mark this repository.
Merge branch 'master' into emj/hex
fa3dc4b · Jonathan Clem · 2019-12-04 18:49
Files changed
added
.github/elixir.json
+31
−0
@@ -0,0 +1,31 @@
| 1 | +{ | |
| 2 | + "problemMatcher": [ | |
| 3 | + { | |
| 4 | + "owner": "elixir", | |
| 5 | + "pattern": [ | |
| 6 | + { | |
| 7 | + "regexp": "^(\\*\\* \\(.*\\) )?((.:)?[^:]*):(\\d+)(:(\\d+))?: (.*)$", | |
| 8 | + "file": 2, | |
| 9 | + "line": 4, | |
| 10 | + "column": 6, | |
| 11 | + "message": 7 | |
| 12 | + } | |
| 13 | + ] | |
| 14 | + }, | |
| 15 | + { | |
| 16 | + "owner": "elixir-warning", | |
| 17 | + "pattern": [ | |
| 18 | + { | |
| 19 | + "regexp": "^(warning: (.*))$", | |
| 20 | + "message": 2 | |
| 21 | + }, | |
| 22 | + { | |
| 23 | + "regexp": "^( )((.:)?[^:]*):(\\d+)(:(\\d+))?$", | |
| 24 | + "file": 2, | |
| 25 | + "line": 4, | |
| 26 | + "column": 6 | |
| 27 | + } | |
| 28 | + ] | |
| 29 | + } | |
| 30 | + ] | |
| 31 | +} |
modified
README.md
+3
−3
@@ -30,7 +30,7 @@ jobs:
| 30 | 30 | runs-on: ubuntu-latest |
| 31 | 31 | steps: |
| 32 | 32 | - uses: actions/checkout@v1.0.0 |
| 33 | − - uses: actions/setup-elixir@v1.0.0 | |
| 33 | + - uses: actions/setup-elixir@v1.1.0 | |
| 34 | 34 | with: |
| 35 | 35 | otp-version: 22.x |
| 36 | 36 | elixir-version: 1.9.x |
@@ -53,7 +53,7 @@ jobs:
| 53 | 53 | elixir: [1.8.x, 1.9.x] |
| 54 | 54 | steps: |
| 55 | 55 | - uses: actions/checkout@v1.0.0 |
| 56 | − - uses: actions/setup-elixir@v1.0.0 | |
| 56 | + - uses: actions/setup-elixir@v1.1.0 | |
| 57 | 57 | with: |
| 58 | 58 | otp-version: ${{matrix.otp}} |
| 59 | 59 | elixir-version: ${{matrix.elixir}} |
@@ -82,7 +82,7 @@ jobs:
| 82 | 82 | |
| 83 | 83 | steps: |
| 84 | 84 | - uses: actions/checkout@v1.0.0 |
| 85 | − - uses: actions/setup-elixir@v1.0.0 | |
| 85 | + - uses: actions/setup-elixir@v1.1.0 | |
| 86 | 86 | with: |
| 87 | 87 | otp-version: 22.x |
| 88 | 88 | elixir-version: 1.9.x |
modified
src/setup-elixir.js
+3
−0
@@ -33,6 +33,9 @@ async function main() {
| 33 | 33 | process.env.PATH = `${process.cwd()}/.setup-elixir/elixir/bin:${process.env.PATH}` |
| 34 | 34 | if (installRebar) await exec('mix local.rebar --force') |
| 35 | 35 | if (installHex) await exec('mix local.hex --force') |
| 36 | + | |
| 37 | + const matchersPath = path.join(__dirname, '..', '.github'); | |
| 38 | + console.log(`##[add-matcher]${path.join(matchersPath, 'elixir.json')}`); | |
| 36 | 39 | } |
| 37 | 40 | |
| 38 | 41 | function checkPlatform() { |