chore(deps): update lycheeverse/lychee-action action to v2.2.0 (#3549) #10059
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
check-links: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/[email protected] | |
with: | |
fetch-depth: 0 | |
- uses: lycheeverse/[email protected] | |
id: lychee | |
with: | |
args: >- | |
-v -n "*.md" "**/*.md" | |
--exclude "https://ingest.us0.signalfx.com.*" | |
--exclude "http://localhost*" | |
- name: fail for link errors | |
run: exit ${{ steps.lychee.outputs.exit_code }} | |
goyek: | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- os: ubuntu-20.04 | |
run-script: ./goyek.sh -v ci | |
- os: windows-2022 | |
run-script: .\goyek.ps1 -v -skip-docker ci | |
- os: macos-14 | |
run-script: ./goyek.sh -v -skip-docker ci | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/[email protected] | |
- uses: actions/[email protected] | |
with: | |
go-version: '1.23' | |
check-latest: true | |
- run: ${{ matrix.run-script }} | |
- uses: codecov/[email protected] | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
fail_ci_if_error: true | |
files: ./coverage.out | |
flags: ${{ runner.os }} | |
compatibility-test: | |
strategy: | |
matrix: | |
go-version: | |
- '1.22' | |
- '1.23' | |
os: [ubuntu-20.04, windows-2022, macos-14] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/[email protected] | |
- uses: actions/[email protected] | |
with: | |
go-version: ${{ matrix.go-version }} | |
check-latest: true | |
- run: make test-short | |
compatibility-check: | |
runs-on: ubuntu-24.04 | |
if: ${{ always() }} | |
needs: [compatibility-test] | |
steps: | |
- name: Test if compatibility-test passed | |
run: | | |
echo ${{ needs.compatibility-test.result }} | |
test ${{ needs.compatibility-test.result }} == "success" |