From 8d4022d1183a61b7f2bd4f619b2664beccb8b663 Mon Sep 17 00:00:00 2001 From: Matt Strapp Date: Fri, 20 Sep 2024 09:32:40 -0500 Subject: Add BEAM Signed-off-by: Matt Strapp --- .github/workflows/beam.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/beam.yml (limited to '.github/workflows/beam.yml') 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 -- cgit v1.2.3