Skip to content

Bump step-security/harden-runner in the actions group (#573) #4

Bump step-security/harden-runner in the actions group (#573)

Bump step-security/harden-runner in the actions group (#573) #4

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@5c7944e73c4c2a096b17a9cb74d65b6c2bbafbde # v2.9.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'