Skip to content

Commit

Permalink
Merge pull request #3 from tgrk/chore-build-and-check-gh-action
Browse files Browse the repository at this point in the history
chore: enable build  and checksusing GH action
  • Loading branch information
tgrk authored Jan 22, 2023
2 parents 06ac29d + 87edc2d commit ca40921
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/elixir.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Elixir CI

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

env:
MIX_ENV: test
JIRA_WEBHOOK_URL: "https://automation.atlassian.com/pro/hooks/secret"

permissions:
contents: read

jobs:
test:
runs-on: ubuntu-latest
name: Test on OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}}
strategy:
matrix:
otp: ['25.0.4']
elixir: ['1.14.1']
steps:
- name: Set up Elixir
uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}

- name: Checkout code
uses: actions/checkout@v3

- name: Check Formatting
run: mix format --check-formatted

- name: Execute the script
run: elixir changelog2jira.exs

0 comments on commit ca40921

Please sign in to comment.