diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bf5361d11c2..6c18d9ed4b2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,7 +13,7 @@ jobs: steps: - uses: actions/setup-go@v2 with: - go-version: "1.17.2" + go-version: "1.21" - uses: actions/setup-node@v2 - uses: actions/checkout@v2 - uses: arduino/setup-task@v1 diff --git a/Taskfile.yml b/Taskfile.yml index c1047125b6f..47324bf893e 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -19,7 +19,7 @@ tasks: # Production deployment run - migrate DB first, then production: cmds: - - npx prisma migrate deploy + - npx prisma@4 migrate deploy - ./server.exe deploy: @@ -33,15 +33,15 @@ tasks: generate: cmds: # Generate main database bindings - - npx prisma generate + - npx prisma@4 generate # Generate Burgershot (MyBB) database bindings - - npx prisma generate --schema=./prisma/burgershot.prisma + - npx prisma@4 generate --schema=./prisma/burgershot.prisma # Also generate TypeScript type declarations from some backend structs. - go run types.go migrate: cmds: - - npx prisma migrate dev + - npx prisma@4 migrate dev dbuild: cmds: