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

NOISSUE: fix_ci_runs_on_wrong_commit #573

Merged
merged 1 commit into from
Jul 27, 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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 19 additions & 3 deletions .github/workflows/linux-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,14 @@ jobs:
GOPATH: /home/runner/work/assured-ledger/assured-ledger/go
steps:
- name: Checkout code
uses: actions/checkout@master
uses: actions/checkout@v2
with:
path: go/src/github.com/insolar/assured-ledger
# Check out pull request's HEAD commit instead of the merge commit to
# work-around an issue where wrong a commit is being checked out.
# For more details, see:
# https://github.com/actions/checkout/issues/299.
ref: ${{ github.event.pull_request.head.sha }}
- name: Set up go ${{env.GO_VERSION}}
uses: actions/setup-go@v2
with:
Expand Down Expand Up @@ -65,9 +70,14 @@ jobs:
GOPATH: /home/runner/work/assured-ledger/assured-ledger/go
steps:
- name: Checkout code
uses: actions/checkout@master
uses: actions/checkout@v2
with:
path: go/src/github.com/insolar/assured-ledger
# Check out pull request's HEAD commit instead of the merge commit to
# work-around an issue where wrong a commit is being checked out.
# For more details, see:
# https://github.com/actions/checkout/issues/299.
ref: ${{ github.event.pull_request.head.sha }}
- name: Set up go ${{env.GO_VERSION}}
uses: actions/setup-go@v2
with:
Expand Down Expand Up @@ -145,7 +155,13 @@ jobs:
KUBEVAL_VERSION: 0.15.0
steps:
- name: Checkout code
uses: actions/checkout@master
uses: actions/checkout@v2
with:
# Check out pull request's HEAD commit instead of the merge commit to
# work-around an issue where wrong a commit is being checked out.
# For more details, see:
# https://github.com/actions/checkout/issues/299.
ref: ${{ github.event.pull_request.head.sha }}
- name: Set up go ${{env.GO_VERSION}}
uses: actions/setup-go@v1
with:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/windows-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,14 @@ jobs:
BUILD_TIME: 123456
steps:
- name: Checkout code
uses: actions/checkout@master
uses: actions/checkout@v2
with:
path: go/src/github.com/insolar/assured-ledger
# Check out pull request's HEAD commit instead of the merge commit to
# work-around an issue where wrong a commit is being checked out.
# For more details, see:
# https://github.com/actions/checkout/issues/299.
ref: ${{ github.event.pull_request.head.sha }}
- name: Set up go ${{env.GO_VERSION}}
uses: actions/setup-go@v2
with:
Expand Down