Skip to content

Refactor CI

Refactor CI #23

Workflow file for this run

name: Go
on:
push:
branches: [ main ]
paths:
- .github/workflows/go.yml
- go/**
pull_request:
branches: [ main ]
paths:
- .github/workflows/go.yml
- go/**
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: go
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Configure Go
uses: actions/setup-go@v5
with:
go-version-file: 'go/go.mod'
cache: false
- name: Test
run: go test -test.v