Skip to content

Bump step-security/harden-runner from 2.1.0 to 2.10.2 in /.github/workflows #37

Bump step-security/harden-runner from 2.1.0 to 2.10.2 in /.github/workflows

Bump step-security/harden-runner from 2.1.0 to 2.10.2 in /.github/workflows #37

Workflow file for this run

name: Build
on: [ push, pull_request ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: erlef/[email protected]
with:
otp-version: '25'
elixir-version: '1.14'
- name: Restore dependencies cache
uses: actions/cache@v3
with:
path: deps
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
restore-keys: ${{ runner.os }}-mix-
- run: |
mix local.hex --force
mix local.rebar --force
mix deps.clean --unused
mix deps.get
mix deps.compile
name: Compile Dependencies
- run: |
MIX_ENV=test mix test --cover --color
name: Run Tests
- run: |
MIX_ENV=prod mix release
name: Compile