Update test.yml

This commit is contained in:
ilangelov 2025-02-23 09:38:24 +02:00 committed by GitHub
parent d4753c7753
commit c4c27a50d1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,11 +1,24 @@
name: Test Runner
name: Go Tests
on:
workflow_dispatch
pull_request:
branches: [master]
workflow_dispatch:
jobs:
test:
test-go:
name: Run Go Tests
runs-on: ubuntu-latest
steps:
- name: Check runner
run: echo "Runner is working!"
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.24.0
cache: false
- name: Run Go tests
run: go test -short ./...
env:
GOOS: linux
GOARCH: 386