From 6f6dce18bca5bac97ae1c5c1fb1aa9a42eeaca71 Mon Sep 17 00:00:00 2001 From: Aleksandr Tolstikhin Date: Thu, 5 Dec 2024 00:05:11 +0700 Subject: [PATCH] Update yml files for build --- .gitea/workflows/build.yml | 10 ++-------- .gitea/workflows/pr.yml | 10 ++-------- 2 files changed, 4 insertions(+), 16 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 9603352..e33e8c3 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -10,17 +10,11 @@ jobs: runs-on: ubuntu-latest steps: - name: setup - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: - go-version: 1.17 + go-version: 'stable' - name: checkout uses: actions/checkout@v3 - - name: cache - uses: actions/cache@v3 - with: - path: ~/go/pkg/mod - key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} - restore-keys: ${{ runner.os }}-go- - name: deps run: go get -v -t -d ./... - name: test diff --git a/.gitea/workflows/pr.yml b/.gitea/workflows/pr.yml index f313ebe..323f5e8 100644 --- a/.gitea/workflows/pr.yml +++ b/.gitea/workflows/pr.yml @@ -10,17 +10,11 @@ jobs: runs-on: ubuntu-latest steps: - name: setup - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: - go-version: 1.17 + go-version: 'stable' - name: checkout uses: actions/checkout@v3 - - name: cache - uses: actions/cache@v3 - with: - path: ~/go/pkg/mod - key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} - restore-keys: ${{ runner.os }}-go- - name: deps run: go get -v -t -d ./... - name: test