Some changes to the workflows
All checks were successful
Testing / test (1.23.x, ubuntu-latest) (push) Successful in 58s

This commit is contained in:
2025-02-04 00:18:03 -05:00
parent 47c40af27e
commit 919a146a4d
2 changed files with 11 additions and 9 deletions

View File

@ -15,7 +15,7 @@ on:
jobs:
build-and-push:
runs-on: ubuntu-latest
needs: test
# needs: test
if: startsWith(github.ref, 'refs/tags')
steps:
- name: Extract Version

View File

@ -1,5 +1,7 @@
on: [push, pull_request]
name: Testing
on: [push, pull_request]
jobs:
test:
strategy:
@ -8,13 +10,13 @@ jobs:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- uses: actions/checkout@v3
- run: |
go get -u .
go test ./.
- uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- uses: actions/checkout@v3
- run: |
go get -u .
go test ./.
# test-cache:
# runs-on: ubuntu-latest