Skip to content

[go] use pflags for CLI flags, fixes #163, thanks @RISHIKESHk07 <3 #236

[go] use pflags for CLI flags, fixes #163, thanks @RISHIKESHk07 <3

[go] use pflags for CLI flags, fixes #163, thanks @RISHIKESHk07 <3 #236

Workflow file for this run

name: Go
on:
push:
branches:
- master
- main
paths:
- 'go/**'
- '.github/workflows/go.yml'
- '.github/workflows/common.yml'
- 'flake.*'
pull_request:
paths:
- 'go/**'
- '.github/workflows/go.yml'
- '.github/workflows/common.yml'
- 'flake.*'
workflow_dispatch:
jobs:
common:
name: Common
uses: ./.github/workflows/common.yml
with:
workdir: go
format-pkgs: golang-1.17 libsdl2-dev
build-pkgs: golang-1.17 libsdl2-dev
cache-paths: |
~/.cache/go-build
~/go/pkg/mod
cache-file: '**/go.sum'