refactor: improve xsched package with better error handling and code … #72
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will build a golang project | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go | |
name: Go | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 # set timeout to 15 minutes | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.23' | |
- name: Build | |
run: go build -race -v ./... | |
timeout-minutes: 5 # set timeout to 5 minutes | |
- name: Test | |
run: go test -race -v ./... | |
timeout-minutes: 3 # set timeout to 3 minutes |