19 lines
420 B
YAML
19 lines
420 B
YAML
|
name: Compile the repository
|
||
|
on: [pull_request]
|
||
|
env:
|
||
|
REGISTRY: gitea.brudi.xyz
|
||
|
IMAGE_NAME: ${{ gitea.repository }}
|
||
|
USER: ${{ gitea.actor }}
|
||
|
jobs:
|
||
|
compile:
|
||
|
runs-on: ubuntu-latest
|
||
|
container: catthehacker/ubuntu:act-latest
|
||
|
permissions:
|
||
|
contents: read
|
||
|
steps:
|
||
|
- name: Checkout repository
|
||
|
uses: actions/checkout@v3
|
||
|
- name: Run Tests
|
||
|
run: docker build --target test .
|
||
|
|