Skip to content
Snippets Groups Projects
Unverified Commit b6f619cd authored by Liz Rice's avatar Liz Rice Committed by GitHub
Browse files

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
parent e4d6ed2e
Branches
Tags
No related merge requests found
......@@ -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:
......
File moved
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment