diff --git a/.github/workflows/go.yml b/.github/workflows/build_test.yml similarity index 78% rename from .github/workflows/go.yml rename to .github/workflows/build_test.yml index 6092f4a..97d03dc 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/build_test.yml @@ -1,7 +1,7 @@ # This workflow will build a golang project # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go -name: Go +name: build_test on: push: @@ -12,15 +12,21 @@ on: jobs: build: + name: Build runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - + - name: Set up Go uses: actions/setup-go@v4 with: go-version: '1.23' + - name: Get dependencies + run: | + sudo apt install -y libpcap-dev + go get -v + - name: Build run: go build -v ./...