diff --git a/.github/actions/go-test-setup/action.yml b/.github/actions/go-test-setup/action.yml index c7e4d11ac5..6980722bb2 100644 --- a/.github/actions/go-test-setup/action.yml +++ b/.github/actions/go-test-setup/action.yml @@ -1,7 +1,7 @@ runs: using: "composite" steps: - - name: increase the UDP receive buffer size # see https://github.com/lucas-clemente/quic-go/wiki/UDP-Receive-Buffer-Size + - name: increase the UDP receive buffer size # see https://github.com/quic-go/quic-go/wiki/UDP-Buffer-Sizes shell: bash run: sysctl -w net.core.rmem_max=2500000 if: ${{ matrix.os == 'ubuntu' }} diff --git a/.github/actions/markdown-link-check/action.yml b/.github/actions/markdown-link-check/action.yml new file mode 100644 index 0000000000..ce1a7b427b --- /dev/null +++ b/.github/actions/markdown-link-check/action.yml @@ -0,0 +1,20 @@ +name: Markdown Links Check + +on: + push: [master] + pull_request: [master] + schedule: + # runs once in a couple of days at 9am + - cron: '0 9 */2 * *' + +jobs: + check-links: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - uses: gaurav-nelson/github-action-markdown-link-check@v1 + with: + use-quiet-mode: 'yes' + use-verbose-mode: 'yes' + # for removing any false positives + config-file: .github/workflows/markdown-links-config.json diff --git a/.github/workflows/markdown-links-config.json b/.github/workflows/markdown-links-config.json new file mode 100644 index 0000000000..e79c8d124d --- /dev/null +++ b/.github/workflows/markdown-links-config.json @@ -0,0 +1,7 @@ +{ + "ignorePatterns": [ + { + "pattern": "^https://github.com/libp2p/go-libp2p/issues/" + } + ] +} \ No newline at end of file