From 6dfbf0eba9fcea4b57a5459d7dc44d2e299871ba Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Tue, 21 Mar 2023 22:57:30 -0400 Subject: [PATCH] update github workflow with newer version of different actions (#33) --- .github/workflows/codecov.yml | 2 +- .github/workflows/publish_npm.yml | 4 ++-- .github/workflows/push_test_server.yml | 6 +++--- .github/workflows/release.yml | 6 +++--- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 581786b..c7daecd 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 - name: Go Generate diff --git a/.github/workflows/publish_npm.yml b/.github/workflows/publish_npm.yml index af88fec..91db9f4 100644 --- a/.github/workflows/publish_npm.yml +++ b/.github/workflows/publish_npm.yml @@ -13,8 +13,8 @@ jobs: publish-npm: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: 16 registry-url: https://registry.npmjs.org/ diff --git a/.github/workflows/push_test_server.yml b/.github/workflows/push_test_server.yml index baf2cc3..18fce62 100644 --- a/.github/workflows/push_test_server.yml +++ b/.github/workflows/push_test_server.yml @@ -11,7 +11,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 - name: isntall git @@ -26,12 +26,12 @@ jobs: run: sudo git tag v99.99.99-alpha - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: go-version: 'stable' - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v2 + uses: goreleaser/goreleaser-action@v4 with: # either 'goreleaser' (default) or 'goreleaser-pro' distribution: goreleaser diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e34c0c5..e4534ae 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,7 +20,7 @@ jobs: gcc-aarch64-linux-gnu libc6-dev-arm64-cross \ gcc-arm-linux-gnueabihf libc6-dev-armhf-cross - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 - name: Fetch all tags @@ -29,11 +29,11 @@ jobs: id: get_version run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v4 with: go-version: 1.19 - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v2 + uses: goreleaser/goreleaser-action@v4 with: # either 'goreleaser' (default) or 'goreleaser-pro' distribution: goreleaser