Skip to content

Commit

Permalink
Upgrade to Go 1.20 (#2609)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrerfcsantos authored Mar 5, 2023
1 parent 90b22b2 commit 6c89f99
Show file tree
Hide file tree
Showing 152 changed files with 156 additions and 166 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/exercise-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@ jobs:
strategy:
fail-fast: false
matrix:
go-version: [1.18.x]
go-version: [1.20.x]
os: [ubuntu-latest, windows-latest, macOS-latest]
test-arch: [amd64]
race: ["-race"]

include:
- go-version: 1.18.x
- go-version: 1.20.x
test-arch: "386"
os: ubuntu-latest
race: ""
- go-version: 1.18.x
- go-version: 1.20.x
test-arch: "386"
os: windows-latest
race: ""
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/stub-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@ jobs:
strategy:
fail-fast: false
matrix:
go-version: [1.18.x]
go-version: [1.20.x]
os: [ubuntu-latest, windows-latest, macOS-latest]
test-arch: [amd64]
race: ["-race"]

include:
- go-version: 1.18.x
- go-version: 1.20.x
test-arch: "386"
os: ubuntu-latest
race: ""
- go-version: 1.18.x
- go-version: 1.20.x
test-arch: "386"
os: windows-latest
race: ""
Expand Down
2 changes: 1 addition & 1 deletion bin/fetch-golangci-lint
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash

curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.50.1
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.51.2
2 changes: 1 addition & 1 deletion exercises/concept/airport-robot/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module airportrobot

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/concept/animal-magic/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module chance

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/concept/annalyns-infiltration/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module annalyn

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/concept/bird-watcher/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module birdwatcher

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/concept/blackjack/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module blackjack

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/concept/booking-up-for-beauty/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module booking

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/concept/card-tricks/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module cards

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/concept/cars-assemble/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module cars

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/concept/census/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module census

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/concept/chessboard/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module chessboard

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/concept/deep-thought/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module deepthought

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/concept/election-day/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module electionday

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/concept/elons-toys/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module elon

go 1.16
go 1.18

2 changes: 1 addition & 1 deletion exercises/concept/expenses/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module expenses

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/concept/gross-store/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module gross

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/concept/interest-is-interesting/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module interest

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/concept/lasagna-master/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module lasagna

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/concept/lasagna/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module lasagna

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/concept/logs-logs-logs/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module logs

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/concept/meteorology/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module meteorology

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/concept/need-for-speed/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module speed

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/concept/parsing-log-files/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module parsinglogfiles

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/concept/party-robot/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module partyrobot

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/concept/savings-account/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module savings

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/concept/sorting-room/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module sorting

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/concept/the-farm/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module thefarm

go 1.16
go 1.18

2 changes: 1 addition & 1 deletion exercises/concept/vehicle-purchase/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module purchase

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/concept/weather-forecast/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module weather

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/concept/welcome-to-tech-palace/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module techpalace

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/practice/accumulate/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module accumulate

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/practice/acronym/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module acronym

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/practice/all-your-base/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module allyourbase

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/practice/allergies/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module allergies

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/practice/alphametics/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module alphametics

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/practice/anagram/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module anagram

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/practice/armstrong-numbers/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module armstrong

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/practice/atbash-cipher/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module atbash

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/practice/bank-account/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module account

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/practice/beer-song/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module beer

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/practice/binary-search-tree/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module binarysearchtree

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/practice/binary-search/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module binarysearch

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/practice/binary/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module binary

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/practice/bob/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module bob

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/practice/book-store/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module bookstore

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/practice/bottle-song/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module bottlesong

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/practice/bowling/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module bowling

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/practice/change/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module change

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/practice/circular-buffer/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module standard

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/practice/clock/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module clock

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/practice/collatz-conjecture/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module collatzconjecture

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/practice/complex-numbers/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module complex

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/practice/connect/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module connect

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/practice/counter/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module counter

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/practice/crypto-square/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module cryptosquare

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/practice/custom-set/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module stringset

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/practice/darts/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module darts

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/practice/diamond/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module diamond

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/practice/difference-of-squares/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module diffsquares

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/practice/diffie-hellman/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module diffiehellman

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/practice/dominoes/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module dominoes

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/practice/error-handling/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module erratum

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/practice/etl/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module etl

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/practice/flatten-array/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module flatten

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/practice/food-chain/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module foodchain

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/practice/forth/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module forth

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/practice/gigasecond/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module gigasecond

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/practice/grade-school/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module school

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/practice/grains/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module grains

go 1.16
go 1.18
2 changes: 1 addition & 1 deletion exercises/practice/grep/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module grep

go 1.16
go 1.18
Loading

0 comments on commit 6c89f99

Please sign in to comment.