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