Skip to content

GitHub Action for setting up Golang coupled with caching of module and build cache directories.

License

Notifications You must be signed in to change notification settings

flipgroup/action-golang-with-cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

GitHub Action for setting up Golang coupled with caching of module and build cache directories.

Topics

Resources

License

Stars

Watchers

Forks