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

Tweak CI settings #1948

Merged
merged 5 commits into from
Feb 9, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Next Next commit
Tweak CI settings
  • Loading branch information
AlekSi committed Feb 9, 2023
commit 9451d942e3d71c4294fca5e73e35bd5d9b13ddc2
1 change: 1 addition & 0 deletions .github/workflows/conform-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ on:
# Do not run this workflow in parallel for any PR change.
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: false

env:
GOPATH: /home/runner/go
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,11 @@ on:
- cron: "42 2 * * *" # after Go workflow

# Do not run this workflow in parallel for any PR change or branch/tag push
# to prevent concurrent pushes for the same Docker image tag.
# to prevent concurrent pushes for the same Docker image tag
# and save some resources.
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}
cancel-in-progress: true

env:
GOPATH: /home/runner/go
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/docs-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ on:
# to prevent concurrent pushes for the same Cloudflare domain alias.
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}
cancel-in-progress: false

env:
GOPATH: /home/runner/go
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ on:
# to prevent concurrent deployments to GitHub Pages.
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}
cancel-in-progress: false

env:
GOPATH: /home/runner/go
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@ env:
GOMODCACHE: /home/runner/go/mod
GOPROXY: https://proxy.golang.org

# Temporary workaround for https://github.com/codecov/codecov-action/issues/837
CODECOV_TOKEN: 1e257034-a484-4a13-abdf-009e769b909b
# CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
# `var`, not a `secret` as a temporary workaround for https://github.com/codecov/codecov-action/issues/837
CODECOV_TOKEN: ${{ vars.CODECOV_TOKEN }}

jobs:
short-test:
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,21 @@ on:
schedule:
- cron: "12 3 * * *" # after Docker workflow

# Do not run this workflow in parallel for any PR change or branch/tag push
# to save some resources.
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}
cancel-in-progress: true

env:
GOPATH: /home/runner/go
GOCACHE: /home/runner/go/cache
GOLANGCI_LINT_CACHE: /home/runner/go/cache/lint
GOMODCACHE: /home/runner/go/mod
GOPROXY: https://proxy.golang.org

# Temporary workaround for https://github.com/codecov/codecov-action/issues/837
CODECOV_TOKEN: 1e257034-a484-4a13-abdf-009e769b909b
# CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
# `var`, not a `secret` as a temporary workaround for https://github.com/codecov/codecov-action/issues/837
CODECOV_TOKEN: ${{ vars.CODECOV_TOKEN }}

jobs:
test:
Expand Down