Some changes to the workflows
All checks were successful
Testing / test (1.23.x, ubuntu-latest) (push) Successful in 58s
All checks were successful
Testing / test (1.23.x, ubuntu-latest) (push) Successful in 58s
This commit is contained in:
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -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
|
||||
|
18
.github/workflows/testing.yml
vendored
18
.github/workflows/testing.yml
vendored
@ -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
|
||||
|
Reference in New Issue
Block a user