aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/beam.yml35
1 files changed, 35 insertions, 0 deletions
diff --git a/.github/workflows/beam.yml b/.github/workflows/beam.yml
new file mode 100644
index 0000000..6ca02b8
--- /dev/null
+++ b/.github/workflows/beam.yml
@@ -0,0 +1,35 @@
+name: BEAM
+
+on:
+ push:
+ paths:
+ - "**.ex*"
+ - "**.erl"
+ - "**.beam"
+ pull_request:
+ paths:
+ - "**.ex*"
+ - "**.erl"
+ - "**.beam"
+
+jobs:
+ build-and-test:
+ name: Build and Test
+ runs-on: ubuntu-latest
+ strategy:
+ fail-fast: false
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v4
+ - name: Setup the BEAM
+ uses: erlef/setup-beam@v1
+ with:
+ otp-version: latest
+ elixir-version: latest
+ gleam-version: latest
+ - name: Install dependencies
+ run: mix deps.get
+ - name: Lint
+ run: mix format --check-formatted
+ - name: Test
+ run: mix test \ No newline at end of file