diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 8e768a7a0eb66f1fb2be71d3abf81659b0475b62..2b62d07aa057e1bf281c5ac796dfe313a13657d8 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -20,13 +20,16 @@ jobs: name: Performance regression check runs-on: ubuntu-latest steps: - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v5 with: go-version: 1.22.5 - - uses: actions/checkout@v3 + + - uses: actions/checkout@v4 + # Run benchmark with `go test -bench` and stores the output to a file - name: Run benchmark run: go test -v ./... -bench=. -run=xxx -benchmem | tee output.txt + # Run `github-action-benchmark` action - name: Store benchmark result uses: benchmark-action/github-action-benchmark@v1 diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 498403ecff534559ff658a3c1abcb2782b2618af..a1b47bfbe1186c1b584b9eca9f214bca372bca86 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -20,7 +20,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: # We must fetch at least the immediate parents so that if this is # a pull request then we can checkout the head. @@ -33,14 +33,14 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v1 + uses: github/codeql-action/init@v3 with: languages: go, javascript # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@v1 + uses: github/codeql-action/autobuild@v3 # â„šī¸ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl @@ -54,4 +54,4 @@ jobs: # make release - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v1 + uses: github/codeql-action/analyze@v3 diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml index 7b9a63ce6813516aba1063af89b24b48b36cf809..f59a8f906c80c98da06ea1492babfc5388d7b630 100644 --- a/.github/workflows/codespell.yml +++ b/.github/workflows/codespell.yml @@ -18,6 +18,6 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Codespell - uses: codespell-project/actions-codespell@v1 + uses: codespell-project/actions-codespell@v2 diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 2940c74355cf86536b883d8af550c372137b18eb..41635c5e0f94d4cf6d2acd13cf18de2e03b7ceed 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -24,12 +24,12 @@ jobs: steps: - name: Set up Go ${{ matrix.node-version }} - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: ${{ matrix.go-version }} - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Build run: make @@ -48,12 +48,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Install Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: 1.19.4 - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Check Code Formatting run: find . -name "*.go" | while read line; do [ -z "$(gofmt -d "$line" | head)" ] || exit 1; done diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 7e37f0abd8d2c2cf1ae97ace49165f16a974f67a..c1bb89834f09efe1b1a37501c98ddece29b2d55f 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -25,12 +25,12 @@ jobs: steps: - name: Setup Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Install run: make install diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 24b0fef963bc89c9c3d009f4f3923922f396b6b2..1a65995b58c65df2371b58909b5600380e83ac1c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,12 +16,12 @@ jobs: steps: - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: 1.22.5 - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Build run: make