fix: check unstaged files during ci lint (#15120)

This commit is contained in:
Ethan
2024-10-17 05:37:43 +00:00
committed by GitHub
parent 40fb57aa23
commit 46cce333b1
3 changed files with 9 additions and 2 deletions
+6
View File
@@ -223,6 +223,12 @@ jobs:
./actionlint -color -shellcheck= -ignore "set-output"
shell: bash
- name: Check for unstaged files
run: |
rm -f ./actionlint ./typos
./scripts/check_unstaged.sh
shell: bash
gen:
timeout-minutes: 8
runs-on: ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-latest' }}
+1 -1
View File
@@ -125,7 +125,7 @@ func TestWorkspaceActivityBump(t *testing.T) {
}
// maxTimeDrift is how long we are willing wait for a deadline to
// be increased. Since it could have been bumped at the intial
// be increased. Since it could have been bumped at the initial
maxTimeDrift := testutil.WaitMedium
updatedAfter := dbtime.Now()
+2 -1
View File
@@ -3,10 +3,11 @@ package wsproxy
import (
"context"
"golang.org/x/xerrors"
"github.com/coder/coder/v2/coderd/cryptokeys"
"github.com/coder/coder/v2/codersdk"
"github.com/coder/coder/v2/enterprise/wsproxy/wsproxysdk"
"golang.org/x/xerrors"
)
var _ cryptokeys.Fetcher = &ProxyFetcher{}