Remove SourceLevel linter badge (DEPRECATED) #169
This file contains hidden or 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, pull_request] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Setup elixir | |
| uses: actions/setup-elixir@v1 | |
| with: | |
| elixir-version: 1.11.2 # Define the elixir version [required] | |
| otp-version: 23.1.1 # Define the OTP version [required] | |
| - uses: actions/cache@v1 | |
| with: | |
| path: deps | |
| key: ${{ runner.os }}-mix-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }} | |
| restore-keys: | | |
| ${{ runner.os }}-mix-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }} | |
| - name: Install Dependencies | |
| run: | | |
| mix local.rebar --force | |
| mix local.hex --force | |
| mix deps.get | |
| - name: Run Tests | |
| run: mix test | |
| - name: Build escript | |
| run: mix escript.build |