Darius klein 5205c2fb22
All checks were successful
Go / build (push) Successful in 22s
set default-config.toml
2025-11-17 20:31:09 +01:00

44 lines
962 B
YAML

name: Go
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.25'
- name: Build wazuh-notify-go
run: |
cd wazuh-notify-go
go build -o wazuh-notifier-go .
- name: Upload wazuh-notify-go artifact
uses: christopherhx/gitea-upload-artifact@v4
with:
name: wazuh-notifier-go-binary
path: wazuh-notify-go/wazuh-notifier-go
- name: Build wazuh-notify-go-v2
run: |
cd wazuh-notify-go-v2
go build -o wazuh-notifier-go-v2 .
- name: Upload wazuh-notify-go-v2 artifact
uses: christopherhx/gitea-upload-artifact@v4
with:
name: wazuh-notifier-go-v2-binary
path: wazuh-notify-go-v2/wazuh-notifier-go-v2