From 981d55093daa3bbfbb0f31fd47495278ed896306 Mon Sep 17 00:00:00 2001 From: Runrioter Date: Tue, 14 Jan 2025 13:30:35 +0800 Subject: [PATCH] feat: update github action --- .github/workflows/ci.yml | 16 ++++++++-------- .github/workflows/release-bin.yml | 13 ++++++------- 2 files changed, 14 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 56d0c83..ace1ac2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,15 +21,15 @@ jobs: runs-on: ${{ matrix.os }} steps: - - name: Set up Go 1.13 - uses: actions/setup-go@v1 - with: - go-version: 1.13 - id: go - - name: Check out code into the Go module directory - uses: actions/checkout@v2 + uses: actions/checkout@v4 + + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version: '1.13' + - run: go version - name: Build and test run: | - make all \ No newline at end of file + make all diff --git a/.github/workflows/release-bin.yml b/.github/workflows/release-bin.yml index 5a10731..9352de2 100644 --- a/.github/workflows/release-bin.yml +++ b/.github/workflows/release-bin.yml @@ -14,14 +14,13 @@ jobs: runs-on: ubuntu-latest steps: - - name: Set up Go 1.13 - uses: actions/setup-go@v1 - with: - go-version: 1.13 - id: go - - name: Check out code into the Go module directory - uses: actions/checkout@v2 + uses: actions/checkout@v4 + + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version: '1.13' - name: Build bcbc run: make build