fix: fmt should check for unstaged files (#5362)

This commit is contained in:
Marcin Tojek
2022-12-09 12:00:39 +01:00
committed by GitHub
parent 05130db571
commit 935d2eb582
2 changed files with 6 additions and 3 deletions
+3
View File
@@ -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
View File
@@ -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}",
]