Skip to content

Bump fsfe/reuse-action from 4 to 5 #312

Bump fsfe/reuse-action from 4 to 5

Bump fsfe/reuse-action from 4 to 5 #312

Workflow file for this run

name: Pull Request Code test
on:
pull_request:
types: [ assigned, opened, synchronize, reopened ]
paths-ignore:
- 'docs/**'
- '**/*.md'
jobs:
checks:
name: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- name: Check if anything is using port 8080 and kill it
run: |
if lsof -i :8080; then
echo "Port 8080 is in use by:"
lsof -i :8080
echo "Killing process using port 8080..."
kill -9 $(lsof -t -i :8080)
else
echo "Port 8080 is not in use."
fi
- run: make test