- improvements to the continuous GH actions - fix edge case concurrency bugs with Process.start() and state transitions discovered setting up CI.
32 lines
553 B
YAML
32 lines
553 B
YAML
# This workflow will build a golang project
|
|
|
|
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [ "main" ]
|
|
|
|
pull_request:
|
|
branches: [ "main" ]
|
|
|
|
# Allows manual triggering of the workflow
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
|
|
run-tests:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v4
|
|
with:
|
|
go-version: '1.23'
|
|
|
|
# necessary for testing proxy/Process swapping
|
|
- name: Create simple-responder
|
|
run: make simple-responder
|
|
|
|
- name: Test all
|
|
run: make test-all |