github actions/setup-go v4.0.0

latest releases: v5.0.2, v5.0.1, v5.0.0...
18 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.