Prepare version 1.0.0 🚀 #208
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Elixir CI | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
name: Build and test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: erlef/setup-beam@v1 | |
with: | |
elixir-version: "1.16.2" | |
otp-version: "26.2" | |
- uses: actions/cache@v3 | |
with: | |
path: deps | |
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }} | |
restore-keys: ${{ runner.os }}-mix- | |
- run: mix deps.get | |
- run: mix format --check-formatted | |
- run: mix deps.unlock --check-unused | |
- run: mix deps.compile | |
- run: mix compile --warnings-as-errors | |
- run: mix credo --strict | |
- run: mix test |