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: jobs:
build-and-push: build-and-push:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: test # needs: test
if: startsWith(github.ref, 'refs/tags') if: startsWith(github.ref, 'refs/tags')
steps: steps:
- name: Extract Version - name: Extract Version

View File

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