Files
Sharp8N.Compiler/.gitea/workflows/build-and-test.yml
Vitali Semianiaka ed1bd49151
All checks were successful
Build and Test / build-image (push) Successful in 16s
pipeline struct
2025-12-31 10:02:36 +03:00

22 lines
608 B
YAML

name: Build and Test
run-name: ${{ gitea.actor }} is building a Docker image 🚀
on: [push] # Triggers the workflow on push events
jobs:
build-image:
runs-on: ubuntu-latest # Specifies the runner environment
steps:
- name: Checkout Code
uses: actions/checkout@v4 # Uses a standard action to check out the repository code
- name: Build Docker image
run: |
docker build -t testimage:latest .
docker run --rm testimage:latest
# The 'run:' keyword executes shell commands
- name: Run tests (example)
run: echo "Tests passed!"