Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 610 Bytes

README.md

File metadata and controls

20 lines (17 loc) · 610 Bytes

Action Golang with cache

GitHub Action for setting up Golang via actions/setup-go coupled with actions/cache to cache Golang module and build cache directories.

Usage

jobs:
  main:
    name: Use Golang
    runs-on: ubuntu-latest
    steps:
      - name: Setup Golang with cache
        uses: flipgroup/action-golang-with-cache@main
        with:
          version-file: go.mod
          # alternatively, use `version` input
          #version: ~1.22
          cache-key-suffix: key-suffix # optional input argument