diff options
author | sudoforge <no-reply@sudoforge.com> | 2024-07-19 07:21:01 -0700 |
---|---|---|
committer | sudoforge <9c001b67637a@sudoforge.com> | 2024-07-20 07:44:23 -0700 |
commit | eda0d6723978fa19711b538bf1e9641537959bb3 (patch) | |
tree | a55972531e7cc90d2134ebf86c06c09a7404b15a | |
parent | a4b8858668d44203f31e1d9cd675b02600d0ea3f (diff) | |
download | git-bug-eda0d6723978fa19711b538bf1e9641537959bb3.tar.gz |
feat: update action library versions
Change-Id: I957c6de57b3a9151e6d9ce8caba87f4e2c714846
-rw-r--r-- | .github/workflows/benchmark.yml | 7 | ||||
-rw-r--r-- | .github/workflows/codeql-analysis.yml | 8 | ||||
-rw-r--r-- | .github/workflows/codespell.yml | 4 | ||||
-rw-r--r-- | .github/workflows/go.yml | 8 | ||||
-rw-r--r-- | .github/workflows/nodejs.yml | 4 | ||||
-rw-r--r-- | .github/workflows/release.yml | 4 |
6 files changed, 19 insertions, 16 deletions
diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 8e768a7a..2b62d07a 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 498403ec..a1b47bfb 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 7b9a63ce..f59a8f90 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 2940c743..41635c5e 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 7e37f0ab..c1bb8983 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 24b0fef9..1a65995b 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 |