mirror of
https://github.com/coder/coder.git
synced 2026-09-22 05:05:20 +08:00
fix: fmt should check for unstaged files (#5362)
This commit is contained in:
@@ -274,6 +274,9 @@ jobs:
|
||||
export PATH=${PATH}:$(go env GOPATH)/bin
|
||||
make --output-sync -j -B fmt
|
||||
|
||||
- name: Check for unstaged files
|
||||
run: ./scripts/check_unstaged.sh
|
||||
|
||||
test-go:
|
||||
name: "test/go"
|
||||
runs-on: ${{ matrix.os == 'ubuntu-latest' && github.repository_owner == 'coder' && 'ubuntu-latest-16-cores' || matrix.os == 'windows-2022' && github.repository_owner == 'coder' && 'windows-latest-8-cores'|| matrix.os }}
|
||||
|
||||
+3
-3
@@ -12,9 +12,9 @@ terraform {
|
||||
}
|
||||
|
||||
variable "datocms_api_token" {
|
||||
type = string
|
||||
type = string
|
||||
description = "An API token from DATOCMS for usage with building our website."
|
||||
default = ""
|
||||
default = ""
|
||||
}
|
||||
|
||||
# Admin parameters
|
||||
@@ -124,7 +124,7 @@ resource "docker_container" "workspace" {
|
||||
# CPU limits are unnecessary since Docker will load balance automatically
|
||||
memory = 32768
|
||||
runtime = "sysbox-runc"
|
||||
env = [
|
||||
env = [
|
||||
"CODER_AGENT_TOKEN=${coder_agent.dev.token}",
|
||||
"DATOCMS_API_TOKEN=${var.datocms_api_token}",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user