Skip to content

Commit

Permalink
Update Go version in more places.
Browse files Browse the repository at this point in the history
  • Loading branch information
patfair committed Apr 29, 2024
1 parent e3233b3 commit fc374dd
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.20.x
go-version: 1.22.x

- name: Check out code
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.20.x
go-version: 1.22.x
- name: Check out code
uses: actions/checkout@v2
- name: Build
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ On recent versions of macOS, you may be prevented from running an app from an un

**From source**

1. Download [Go](https://golang.org/dl/) (version 1.20 or later recommended)
1. Download [Go](https://golang.org/dl/) (version 1.22 or later required)
1. Clone this GitHub repository to a location of your choice
1. Navigate to the repository's directory in the terminal
1. Compile the code with `go build`
Expand Down
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// Copyright 2014 Team 254. All Rights Reserved.
// Author: [email protected] (Patrick Fairbank)

// Go version 1.20 or newer is required due to how it initializes the PRNG.
//go:build go1.20
// Go version 1.22 or newer is required.
//go:build go1.22

package main

Expand Down

0 comments on commit fc374dd

Please sign in to comment.