feat: coin flip minigame #249
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: Code Quality | |
on: | |
pull_request: | |
branches: [main] | |
types: [opened, synchronize] | |
paths: | |
- '**/*.ex' | |
- '**/*.exs' | |
- '**/*.html.heex' | |
jobs: | |
style: | |
runs-on: ubuntu-latest | |
name: Code Quality | |
strategy: | |
matrix: | |
otp: [27.x] | |
elixir: [1.17.x] | |
steps: | |
- name: βοΈ Checkout repository | |
uses: actions/checkout@v3 | |
- name: π§ Setup Elixir ${{ matrix.elixir }} (OTP ${{matrix.otp}}) | |
uses: ./.github/actions | |
with: | |
otp-version: ${{ matrix.otp }} | |
elixir-version: ${{ matrix.elixir }} | |
build-flags: --all-warnings --warnings-as-errors | |
- name: π¨ Check code formating | |
run: mix format --check-formatted | |
- name: π Lint the code | |
run: mix credo --all --strict |