Skip to content

Add id to json and return upcoming event in /json #4

Add id to json and return upcoming event in /json

Add id to json and return upcoming event in /json #4

Workflow file for this run

name: Elixir CI
on: push
permissions:
contents: read
jobs:
build:
name: Build and test
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
id: beam
with:
version-file: '.tool-versions'
version-type: 'strict'
- name: Restore dependencies cache
uses: actions/cache@v4
with:
path: deps
key: ${{ runner.os }}-mix-deps-${{ hashFiles('**/mix.lock') }}
- name: Restore compilation cache
uses: actions/cache@v4
with:
path: _build
key: ${{ runner.os }}-mix-build-${{ steps.beam.outputs.elixir-version }}-${{ steps.beam.outputs.otp-version }}-${{ hashFiles('**/mix.lock') }}
- run: mix deps.get
- run: mix deps.unlock --check-unused
- run: mix compile --warnings-as-errors
- run: mix format --check-formatted
- run: mix test