1
0
mirror of https://github.com/aquasecurity/kube-bench.git synced 2024-12-22 06:38:06 +00:00

GitHub Actions in correct directory (#787)

* Rename workflow to workflows

* Add integration tests to Actions

* Upload code coverage after unit test

* don't need code coverage when we do a release

* Use same Go version as in go.mod

* Use same Go version as go.mod
This commit is contained in:
Liz Rice 2020-12-23 10:48:17 +00:00 committed by GitHub
parent e4d6ed2e8e
commit b6f619cdcb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 6 deletions

View File

@ -20,7 +20,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v1
with:
go-version: 1.15
go-version: 1.13
- name: Checkout code
uses: actions/checkout@v2
- name: yaml-lint
@ -31,6 +31,8 @@ jobs:
uses: codecov/codecov-action@v1
with:
file: ./coverage.txt
- name: Run integration tests
run: make integration-tests
- name: Dry-run release snapshot
uses: goreleaser/goreleaser-action@v2
with:

View File

@ -11,15 +11,13 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v1
with:
go-version: 1.15
go-version: 1.13
- name: Checkout code
uses: actions/checkout@v2
- name: Run unit tests
run: make tests
- name: Upload code coverage
uses: codecov/codecov-action@v1
with:
file: ./coverage.txt
- name: Run integration tests
run: make integration-tests
- name: Release
uses: goreleaser/goreleaser-action@v2
with: