Skip to content

Bump the actions group with 2 updates #658

Bump the actions group with 2 updates

Bump the actions group with 2 updates #658

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
egress-policy: audit
- name: Checkout code
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Build containers
run: docker compose build --build-arg MIX_ENV=test
- name: Start containers
run: docker compose up -d db cache
- name: Run tests
run: docker compose run web bash -c 'cd server && mix test'