Add flags to metalctl move #299
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: 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 |