1
0
Fork 0
mirror of https://github.com/Eggbertx/gochan.git synced 2025-08-02 06:46:24 -07:00

Update Vagrant Ubuntu box to 20.04, update Go version to 1.20

This commit is contained in:
Eggbertx 2023-08-30 12:32:41 -07:00
parent 13f97233a8
commit 14c209e89b
3 changed files with 4 additions and 4 deletions

2
go.mod
View file

@ -1,6 +1,6 @@
module github.com/gochan-org/gochan
go 1.18
go 1.20
require (
github.com/Eggbertx/durationutil v1.0.0

4
vagrant/Vagrantfile vendored
View file

@ -8,9 +8,9 @@ if DBTYPE != "mysql" && DBTYPE != "postgresql" && DBTYPE != "sqlite3"
end
PROVIDER = ENV.fetch("GC_PROVIDER", "virtualbox") # can be virtualbox or libvirt
BOX = "generic/ubuntu1804"
BOX = "generic/ubuntu2004"
if PROVIDER == "virtualbox"
BOX = "ubuntu/bionic64"
BOX = "ubuntu/focal64"
end
Vagrant.configure("2") do |config|

View file

@ -3,7 +3,7 @@
set -euo pipefail
export DEBIAN_FRONTEND=noninteractive
export GO_VERSION=1.18
export GO_VERSION=1.20
if [ -z "$DBTYPE" ]; then
echo "DBTYPE environment variable not set, must be 'mysql' or 'postgresql'."