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

ci: always run ci (backport #4334) #4335

Merged
merged 5 commits into from
Sep 3, 2024
Merged
Show file tree
Hide file tree
Changes from 2 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
9 changes: 2 additions & 7 deletions .github/workflows/md-link-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: technote-space/[email protected]
with:
PATTERNS: |
**/*.md
- uses: gaurav-nelson/[email protected]
if: env.GIT_DIFF
with:
folder-path: "."
use-verbose-mode: 'yes'
config-file: '.github/workflows/md-link-checker-config.json'
use-verbose-mode: "yes"
config-file: ".github/workflows/md-link-checker-config.json"
12 changes: 0 additions & 12 deletions .github/workflows/test-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,23 +37,11 @@ jobs:
test-path: ${{fromJson(needs.pre-test.outputs.matrix)}}
steps:
- uses: actions/[email protected]
- uses: technote-space/[email protected]
with:
PATTERNS: |
**/*.go
**/*.plush
**/*.tpl
go.mod
go.sum
**/testdata/**

- uses: actions/setup-go@v4
if: env.GIT_DIFF
with:
go-version: "stable"

- name: Run Integration Tests
if: env.GIT_DIFF
env:
GOTOOLCHAIN: local+path
GOSUMDB: off
Expand Down
12 changes: 1 addition & 11 deletions .github/workflows/test-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request:
push:
paths-ignore:
- '**.md'
- "**.md"
branches:
- main
- release/*
Expand All @@ -20,22 +20,12 @@ jobs:
timeout-minutes: 6
steps:
- uses: actions/[email protected]
- uses: technote-space/[email protected]
with:
PATTERNS: |
**/*.go
**/*.plush
go.mod
go.sum

- uses: actions/setup-go@v4
if: env.GIT_DIFF
with:
go-version-file: go.mod
cache: false

- uses: golangci/golangci-lint-action@v3
if: env.GIT_DIFF
with:
version: v1.54.2
install-mode: goinstall
Expand Down
12 changes: 0 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,28 +21,16 @@ jobs:
os: [ubuntu-latest, macos-latest]
steps:
- uses: actions/[email protected]
- uses: technote-space/[email protected]
with:
PATTERNS: |
**/*.go
**/*.plush
go.mod
go.sum
**/testdata/**

- uses: actions/setup-go@v4
if: env.GIT_DIFF
with:
go-version: "1.21"
cache: true
cache-dependency-path: go.sum

- run: ./scripts/test-coverage
if: env.GIT_DIFF

- name: Upload coverage to Codecov
uses: codecov/[email protected]
if: env.GIT_DIFF
with:
file: ./coverage.txt
fail_ci_if_error: false
Expand Down
Loading