GitHub Actions used by go-openapi workflows.
This repository contains reusable GitHub Actions for go-openapi projects.
A basic composite action that sets up Go and provides a foundation for go-openapi workflows.
name: Example Workflow
on: [push]
jobs:
example:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run go-openapi starter action
uses: go-openapi/gh-actions@main
with:
go-version: '1.21'
working-directory: '.'go-version- Go version to use (default:1.21)working-directory- Working directory for the action (default:.)
result- Result of the action execution
To use this action in your workflow, reference it using the standard GitHub Actions syntax:
- uses: go-openapi/gh-actions@mainOr pin to a specific version:
- uses: go-openapi/gh-actions@v1Apache License 2.0