/ .github / workflows / akka.yaml
akka.yaml
 1  name: Akka CI
 2  
 3  on:
 4    push:
 5      paths:
 6        - .github/workflows/akka.yaml
 7        - akka/**
 8      branches:
 9        - main
10    pull_request:
11      paths:
12        - .github/workflows/akka.yaml
13        - akka/**
14  
15  permissions:
16    contents: read
17  
18  jobs:
19    build:
20      name: Build
21      runs-on: ubuntu-latest
22      defaults:
23        run:
24          working-directory: akka
25  
26      steps:
27        - name: Checkout repository
28          uses: actions/checkout@v4
29  
30        - name: Set up Docker Compose
31          uses: ./.github/actions/setup-compose
32  
33        - name: Build Docker images
34          run: docker compose build