Skip to content

Commit 935d2eb

Browse files
authored
fix: fmt should check for unstaged files (coder#5362)
1 parent 05130db commit 935d2eb

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/coder.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,9 @@ jobs:
274274
export PATH=${PATH}:$(go env GOPATH)/bin
275275
make --output-sync -j -B fmt
276276
277+
- name: Check for unstaged files
278+
run: ./scripts/check_unstaged.sh
279+
277280
test-go:
278281
name: "test/go"
279282
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 }}

dogfood/main.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ terraform {
1212
}
1313

1414
variable "datocms_api_token" {
15-
type = string
15+
type = string
1616
description = "An API token from DATOCMS for usage with building our website."
17-
default = ""
17+
default = ""
1818
}
1919

2020
# Admin parameters
@@ -124,7 +124,7 @@ resource "docker_container" "workspace" {
124124
# CPU limits are unnecessary since Docker will load balance automatically
125125
memory = 32768
126126
runtime = "sysbox-runc"
127-
env = [
127+
env = [
128128
"CODER_AGENT_TOKEN=${coder_agent.dev.token}",
129129
"DATOCMS_API_TOKEN=${var.datocms_api_token}",
130130
]

0 commit comments

Comments
 (0)