Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating workflow from Proaction #200

Merged
merged 1 commit into from
May 29, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
26 changes: 13 additions & 13 deletions .github/workflows/build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,25 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v1.1.2
- uses: actions/setup-go@v2.0.3
with:
go-version: "1.14.3"
- name: setup goenv
run: |
echo "::set-env name=GOPATH::$(go env GOPATH)"
echo "::add-path::$(go env GOPATH)/bin"
shell: bash
- uses: actions/checkout@v2
- uses: actions/checkout@v2.2.0
- run: make all
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v2.0.1
with:
name: schemahero
path: bin/schemahero
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v2.0.1
with:
name: manager
path: bin/manager
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v2.0.1
with:
name: kubectl-schemahero
path: bin/kubectl-schemahero
Expand All @@ -38,9 +38,9 @@ jobs:
matrix:
postgres_version: ["10.13", "11.8", "12.3"]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2.2.0
- name: Download schemahero binary
uses: actions/download-artifact@v1
uses: actions/download-artifact@v2.0
with:
name: schemahero
path: bin/
Expand All @@ -54,9 +54,9 @@ jobs:
matrix:
mysql_version: ["5.6", "5.7", "8.0"]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2.2.0
- name: Download schemahero binary
uses: actions/download-artifact@v1
uses: actions/download-artifact@v2.0
with:
name: schemahero
path: bin/
Expand All @@ -70,9 +70,9 @@ jobs:
matrix:
cockroachdb_version: ["v19.2.7", "v20.1.0"]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2.2.0
- name: Download schemahero binary
uses: actions/download-artifact@v1
uses: actions/download-artifact@v2.0
with:
name: schemahero
path: bin/
Expand All @@ -85,10 +85,10 @@ jobs:
needs: [test-mysql, test-postgres]
steps:
- name: Checkout
uses: actions/checkout@v1
uses: actions/checkout@v2.2.0

- name: Download kubectl-schemahero binary
uses: actions/download-artifact@v1
uses: actions/download-artifact@v2.0
with:
name: kubectl-schemahero
path: bin/
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/proaction.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ jobs:
run-proaction:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2.2.0

- uses: proactionhq/proaction/action@v0.4.4
with:
github-token: ${{secrets.GITHUB_TOKEN}}

- uses: peter-evans/create-pull-request@v2
- uses: peter-evans/create-pull-request@v2.8.0
with:
commit-message: "[proaction] updating workflow"
title: Updating workflow from Proaction
Expand Down
28 changes: 14 additions & 14 deletions .github/workflows/tagged-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,25 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v1.1.2
- uses: actions/setup-go@v2.0.3
with:
go-version: "1.14.3"
- name: setup goenv
run: |
echo "::set-env name=GOPATH::$(go env GOPATH)"
echo "::add-path::$(go env GOPATH)/bin"
shell: bash
- uses: actions/checkout@v2
- uses: actions/checkout@v2.2.0
- run: make all
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v2.0.1
with:
name: schemahero
path: bin/schemahero
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v2.0.1
with:
name: manager
path: bin/manager
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v2.0.1
with:
name: kubectl-schemahero
path: bin/kubectl-schemahero
Expand All @@ -37,9 +37,9 @@ jobs:
matrix:
postgres_version: ["10.13", "11.8", "12.3"]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2.2.0
- name: Download schemahero binary
uses: actions/download-artifact@v1
uses: actions/download-artifact@v2.0
with:
name: schemahero
path: bin/
Expand All @@ -53,9 +53,9 @@ jobs:
matrix:
mysql_version: ["5.6", "5.7", "8.0"]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2.2.0
- name: Download schemahero binary
uses: actions/download-artifact@v1
uses: actions/download-artifact@v2.0
with:
name: schemahero
path: bin/
Expand All @@ -69,9 +69,9 @@ jobs:
matrix:
cockroachdb_version: ["v19.2.7", "v20.1.0"]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2.2.0
- name: Download schemahero binary
uses: actions/download-artifact@v1
uses: actions/download-artifact@v2.0
with:
name: schemahero
path: bin/
Expand All @@ -85,10 +85,10 @@ jobs:
- test-mysql
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v2.2.0
- name: Unshallow
run: git fetch --prune --unshallow
- uses: actions/setup-go@v1.1.2
- uses: actions/setup-go@v2.0.3
with:
go-version: "1.14.3"
- uses: azure/docker-login@v1
Expand All @@ -100,7 +100,7 @@ jobs:
run: |
echo ::set-env name=GORELEASER_PREVIOUS_TAG::$(curl --silent "https://api.github.com/repos/schemahero/schemahero/releases/latest" | grep -Po '"tag_name": "\K.*?(?=")')
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v1.5.1
uses: goreleaser/goreleaser-action@v2.0.2
with:
version: latest
args: release --rm-dist --config deploy/.goreleaser.yaml
Expand Down