🔖 Bump to v1.1.2 #24
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: AyeSQL Checks | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
env: | |
MIX_ENV: test | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
env: | |
MIX_ENV: "test" | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: erlef/setup-beam@v1 | |
name: "Setup Elixir" | |
with: | |
otp-version: "26.1.2" | |
elixir-version: "1.15.7" | |
- name: "Get dependencies" | |
run: mix do local.rebar --force, local.hex --force, deps.get | |
- name: "Compile dependencies" | |
run: mix deps.compile | |
- name: "Compile project" | |
run: mix compile --warnings-as-errors | |
- name: "Check formatting" | |
run: mix format --dry-run --check-formatted | |
- name: "Run tests with coverage" | |
run: mix coveralls.github | |
- name: "Run Credo" | |
run: mix credo |