diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 5f1a7b4..1ed66d5 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -21,7 +21,7 @@ on: - '/*.md' workflow_call: -name: Build and test +name: CodeQL analysis jobs: codql-build: permissions: @@ -37,16 +37,9 @@ jobs: uses: actions/setup-go@v2 with: go-version: 1.21.x + cache: true id: go - - name: Cache Go modules packages - uses: actions/cache@v2.1.7 - with: - path: ~/go/pkg/mod - key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} - restore-keys: | - ${{ runner.os }}-go- - - name: Checkout code uses: actions/checkout@v3