Installer/.forgejo/workflows/build-release.yml
partisan fba04a0c06
Some checks failed
/ test-on-windows (push) Failing after 4s
/ test-on-alpine (push) Successful in 1m12s
removed go setup, replaced by go check in tests
2024-12-21 13:07:19 +01:00

40 lines
1,005 B
YAML

on: [push]
jobs:
test-on-windows:
runs-on: win-10
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Verify Go Installation
run: |
go version || (echo "Go is not installed!" && exit 1)
- name: Build Go Application
run: |
go build -o spitfire-installer.exe
echo "Application built successfully."
- name: Run Go Application
run: |
./spitfire-installer.exe || echo "Application failed to run."
test-on-alpine:
runs-on: alpine-1.20
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Verify Go Installation
run: |
go version || (echo "Go is not installed!" && exit 1)
- name: Build Go Application
run: |
go build -o spitfire-installer
echo "Application built successfully."
- name: Run Go Application
run: |
./spitfire-installer || echo "Application failed to run."