Skip to content

Add sandbox support for remote agent execution #41

Add sandbox support for remote agent execution

Add sandbox support for remote agent execution #41

Workflow file for this run

name: Condukt
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
push:
permissions:
contents: read
jobs:
compile:
name: Compile without warnings
if: github.event_name == 'push' || !github.event.pull_request.draft
runs-on: ubuntu-latest
env:
MIX_ENV: test
steps:
- name: Check out the repository
uses: actions/checkout@v4
- name: Install BEAM tooling with mise
uses: jdx/mise-action@v3
with:
cache: true
- name: Install Hex and Rebar
run: |
mix local.hex --force
mix local.rebar --force
- name: Fetch dependencies
run: mix deps.get
- name: Compile dependencies
run: mix deps.compile
- name: Compile without warnings
run: mix compile --warnings-as-errors
test:
name: Run tests
if: github.event_name == 'push' || !github.event.pull_request.draft
runs-on: ubuntu-latest
env:
MIX_ENV: test
steps:
- name: Check out the repository
uses: actions/checkout@v4
- name: Install BEAM tooling with mise
uses: jdx/mise-action@v3
with:
cache: true
- name: Install Hex and Rebar
run: |
mix local.hex --force
mix local.rebar --force
- name: Fetch dependencies
run: mix deps.get
- name: Run test suite
run: mix test
format:
name: Check formatting
if: github.event_name == 'push' || !github.event.pull_request.draft
runs-on: ubuntu-latest
env:
MIX_ENV: test
steps:
- name: Check out the repository
uses: actions/checkout@v4
- name: Install BEAM tooling with mise
uses: jdx/mise-action@v3
with:
cache: true
- name: Install Hex and Rebar
run: |
mix local.hex --force
mix local.rebar --force
- name: Fetch dependencies
run: mix deps.get
- name: Compile formatter dependencies
run: mix deps.compile
- name: Check formatting
run: mix format --check-formatted