github actions/setup-go v4.0.0

latest releases: v5.1.0, v5, v5.0.2...
20 months ago

In scope of release we enable cache by default. The action won’t throw an error if the cache can’t be restored or saved. The action will throw a warning message but it won’t stop a build process. The cache can be disabled by specifying cache: false.

steps:
  - uses: actions/checkout@v3
  - uses: actions/setup-go@v4
    with:
      go-version: ‘1.19’
  - run: go run hello.go

Besides, we introduce such changes as

Don't miss a new setup-go release

NewReleases is sending notifications on new releases.