diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 0f5e78f..c5983d2 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -13,7 +13,6 @@ name: "CodeQL" on: push: - branches: [ master, develop ] pull_request: # The branches below must be a subset of the branches above branches: [ master ] @@ -37,8 +36,14 @@ jobs: # Learn more about CodeQL language support at https://git.io/codeql-language-support steps: + - name: Set up Go + uses: actions/setup-go@v2 + with: + go-version: 1.17 - name: Checkout repository uses: actions/checkout@v2 + with: + go-version: 1.17 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL @@ -54,6 +59,8 @@ jobs: # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild uses: github/codeql-action/autobuild@v1 + with: + go-version: 1.17 # ℹī¸ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl @@ -68,4 +75,6 @@ jobs: - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v1 + with: + go-version: 1.17 diff --git a/go.mod b/go.mod index eae3c96..d022965 100644 --- a/go.mod +++ b/go.mod @@ -16,4 +16,14 @@ require ( github.com/yireyun/go-queue v0.0.0-20210520035143-72b190eafcba golang.org/x/net v0.0.0-20211216030914-fe4d6282115f golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e // indirect -) \ No newline at end of file +) +// Undo the wrong version number +retract ( + v0.2.6 + v0.2.5 + v0.2.4 + v0.2.3 + v0.2.2 + v0.2.1 + v0.2.0 +)