Skip to content

Fix empty url, panic: runtime error: slice bounds out of range [1:0] #2231

Fix empty url, panic: runtime error: slice bounds out of range [1:0]

Fix empty url, panic: runtime error: slice bounds out of range [1:0] #2231

Workflow file for this run

name: test
on:
push:
branches: [ main, v4 ]
pull_request:
branches: [ main, v4 ]
jobs:
test:
runs-on: ubuntu-22.04
strategy:
matrix:
go: ["1.21", "1.22", "1.23"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- run: sudo apt update && sudo apt install -y libavformat-dev libswscale-dev
- run: make test-nodocker
- if: matrix.go == '1.23'
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
test_highlevel:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v3
with:
go-version: "1.23"
- run: make test-highlevel-nodocker
test32:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- run: make test32