From dc359ad2f066b7d54b67d0ce2e4d6a5d9a5c194f Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Tue, 7 Jan 2025 12:21:49 -0500 Subject: [PATCH] chore(deps): update action deps Signed-off-by: Rui Chen --- .github/workflows/main.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 543ecbf..420c5e4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -26,13 +26,13 @@ jobs: goarch: arm64 fail-fast: true steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Setup Go environment - uses: actions/setup-go@v2.1.3 + uses: actions/setup-go@v5 with: - go-version: 1.17 + go-version-file: go.mod - name: Cache downloaded module - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: | ~/.cache/go-build @@ -50,7 +50,7 @@ jobs: export CGO_ENABLED=0 go build -o "output/$BINARY_NAME" -trimpath -ldflags "$LD_FLAGS" . - name: Upload artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: ${{ !github.head_ref }} with: name: ${{ matrix.goos }}_${{ matrix.goarch }}