mirror of
https://github.com/fosrl/olm.git
synced 2026-02-08 05:56:41 +00:00
35 lines
570 B
YAML
35 lines
570 B
YAML
name: Run Tests
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
- dev
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
|
|
- name: Clone fosrl/newt
|
|
uses: actions/checkout@v6
|
|
with:
|
|
repository: fosrl/newt
|
|
path: ../newt
|
|
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v6
|
|
with:
|
|
go-version: 1.25
|
|
|
|
- name: Build go
|
|
run: go build
|
|
|
|
- name: Build Docker image
|
|
run: make build
|
|
|
|
- name: Build binaries
|
|
run: make go-build-release
|