Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrbrt committed Aug 30, 2024
1 parent 8225c7e commit 76402f6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 56 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/md-link-checker.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
name: Check Markdown links
on:
pull_request:
paths:
- "**.*.md"
push:
paths:
- "**.*.md"
branches:
- main
- release/*
Expand All @@ -14,17 +18,8 @@ jobs:
markdown-link-check:
runs-on: ubuntu-latest
steps:
<<<<<<< HEAD
- uses: actions/[email protected]
- uses: technote-space/[email protected]
with:
PATTERNS: |
**/*.md
=======
- uses: actions/checkout@v4
>>>>>>> 294ec4d5 (ci: always run ci (#4334))
- uses: gaurav-nelson/[email protected]
if: env.GIT_DIFF
with:
folder-path: "."
use-verbose-mode: "yes"
Expand Down
16 changes: 0 additions & 16 deletions .github/workflows/test-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,28 +36,12 @@ jobs:
os: [ubuntu-latest, macos-latest]
test-path: ${{fromJson(needs.pre-test.outputs.matrix)}}
steps:
<<<<<<< HEAD
- uses: actions/[email protected]
- uses: technote-space/[email protected]
with:
PATTERNS: |
**/*.go
**/*.plush
**/*.tpl
go.mod
go.sum
**/testdata/**
=======
- uses: actions/checkout@v4
>>>>>>> 294ec4d5 (ci: always run ci (#4334))

- 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
16 changes: 1 addition & 15 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 @@ -19,27 +19,13 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 6
steps:
<<<<<<< HEAD
- uses: actions/[email protected]
- uses: technote-space/[email protected]
with:
PATTERNS: |
**/*.go
**/*.plush
go.mod
go.sum
=======
- uses: actions/checkout@v4
>>>>>>> 294ec4d5 (ci: always run ci (#4334))

- 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
16 changes: 0 additions & 16 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,33 +20,17 @@ jobs:
matrix:
os: [ubuntu-latest, macos-latest]
steps:
<<<<<<< HEAD
- uses: actions/[email protected]
- uses: technote-space/[email protected]
with:
PATTERNS: |
**/*.go
**/*.plush
go.mod
go.sum
**/testdata/**
=======
- uses: actions/checkout@v4
>>>>>>> 294ec4d5 (ci: always run ci (#4334))

- 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

0 comments on commit 76402f6

Please sign in to comment.