Skip to content

💚 fix ci lint

💚 fix ci lint #2

Workflow file for this run

name: Run tests
on:
push:
jobs:
tests:
name: release linux/amd64
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.22' ]
steps:
- uses: actions/checkout@v4
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
steps:

Check failure on line 20 in .github/workflows/tests.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/tests.yml

Invalid workflow file

You have an error in your yaml syntax on line 20
- uses: actions/checkout@v4
- name: Start mockserver
run: docker run -v ./tests/mockserver/config:/config -p 1080:1080 -e MOCKSERVER_INITIALIZATION_JSON_PATH=/config/initializerJson.json --name mockserver-go mockserver/mockserver
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
# You can test your matrix by printing the current Go version
- name: Install dependencies for container
run: cd docker && go get . && cd -
- name: Run tests for container
run: cd docker && go test && cd -
env:
NETBOX_URL: http://localhost:1080
NETBOX_TOKEN: testing