Skip to content

Merge pull request #1 from niklhut/feature/improve-gh-actions #3

Merge pull request #1 from niklhut/feature/improve-gh-actions

Merge pull request #1 from niklhut/feature/improve-gh-actions #3

Workflow file for this run

name: Build
# Controls when the workflow will run
on:
# Triggers the workflow on push events for all branches
push:
pull_request:
branches:
- main
- master
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# 1. Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Set up Git repository
uses: actions/checkout@v3
# 2. Test build using docker-compose
- name: Test build
run: docker compose build --no-cache