aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorMatt Strapp <matt@mattstrapp.net>2024-09-20 09:32:40 -0500
committerMatt Strapp <matt@mattstrapp.net>2024-09-20 09:32:40 -0500
commit8d4022d1183a61b7f2bd4f619b2664beccb8b663 (patch)
treeccbdba6a3442ca3e3e9ac2fa2f09d7816879b1ec /.github
parentMake turbo happy (diff)
downloadlocusts-8d4022d1183a61b7f2bd4f619b2664beccb8b663.tar
locusts-8d4022d1183a61b7f2bd4f619b2664beccb8b663.tar.gz
locusts-8d4022d1183a61b7f2bd4f619b2664beccb8b663.tar.bz2
locusts-8d4022d1183a61b7f2bd4f619b2664beccb8b663.tar.lz
locusts-8d4022d1183a61b7f2bd4f619b2664beccb8b663.tar.xz
locusts-8d4022d1183a61b7f2bd4f619b2664beccb8b663.tar.zst
locusts-8d4022d1183a61b7f2bd4f619b2664beccb8b663.zip
Add BEAM
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to '.github')
-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