Skip to content

Migrate from Gitlab to Github #4

Migrate from Gitlab to Github

Migrate from Gitlab to Github #4

Workflow file for this run

name: Test & Build
on:
push:
branches:
- "*"
pull_request:
branches:
- "*"
workflow_dispatch:
jobs:
test:
runs-on: ${{ vars.RUNS_ON }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- name: Build project
run: make test
build:
runs-on: ${{ vars.RUNS_ON }}
needs: test
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- name: Install dependencies
run : sudo apt update && sudo apt install -y rpm curl git wget make sudo wixl msitools perl
- name: Build project
run: make build
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: build
path: /tmp/build