gosick #1

Merged
DelphicOkami merged 162 commits from gosick into main 2026-03-21 23:08:00 +00:00
3 changed files with 7 additions and 30 deletions
Showing only changes of commit 0034a6f4e2 - Show all commits

View File

@@ -1,27 +0,0 @@
name: Pull Request Merge Validation
on:
pull_request_target:
types:
- closed
jobs:
validate-merged-pr:
if: ${{ github.event.pull_request.merged == true }}
runs-on: ubuntu-latest
steps:
- name: Checkout merged commit
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.merge_commit_sha }}
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Run full unit test suite
run: go test ./...
- name: Run behavior suite
run: ./script/run-behavior-suite-docker.sh

View File

@@ -1,4 +1,4 @@
name: Push Unit Tests name: Push Validation
on: on:
push: push:
@@ -8,7 +8,7 @@ on:
- "*" - "*"
jobs: jobs:
unit-tests: validate:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
@@ -21,3 +21,7 @@ jobs:
- name: Run full unit test suite - name: Run full unit test suite
run: go test ./... run: go test ./...
- name: Run behavior suite on main pushes
if: ${{ github.ref == 'refs/heads/main' }}
run: ./script/run-behavior-suite-docker.sh

View File

@@ -1,6 +1,6 @@
# homesick # homesick
[![Main Unit Tests](https://git.hrafn.xyz/aether/gosick/actions/workflows/push-unit-tests.yml?branch=main&event=push)](https://git.hrafn.xyz/aether/gosick/actions/workflows/push-unit-tests.yml) [![Main Validation](https://git.hrafn.xyz/aether/gosick/actions/workflows/push-validation.yml?branch=main&event=push)](https://git.hrafn.xyz/aether/gosick/actions/workflows/push-validation.yml)
[![PR Validation](https://git.hrafn.xyz/aether/gosick/actions/workflows/pr-validation.yml?branch=main&event=pull_request)](https://git.hrafn.xyz/aether/gosick/actions/workflows/pr-validation.yml) [![PR Validation](https://git.hrafn.xyz/aether/gosick/actions/workflows/pr-validation.yml?branch=main&event=pull_request)](https://git.hrafn.xyz/aether/gosick/actions/workflows/pr-validation.yml)
[![Tag Build Artifacts](https://git.hrafn.xyz/aether/gosick/actions/workflows/tag-build-artifacts.yml?event=push)](https://git.hrafn.xyz/aether/gosick/actions/workflows/tag-build-artifacts.yml) [![Tag Build Artifacts](https://git.hrafn.xyz/aether/gosick/actions/workflows/tag-build-artifacts.yml?event=push)](https://git.hrafn.xyz/aether/gosick/actions/workflows/tag-build-artifacts.yml)