chore: update IoM-go submodule to fix recursive checkout #41
This file contains hidden or 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: ci | |
| on: | |
| push: | |
| branches: [dev] | |
| pull_request: | |
| branches: [dev] | |
| workflow_dispatch: | |
| jobs: | |
| unit: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: "1.24.13" | |
| cache: true | |
| - name: Go mod tidy | |
| run: go mod tidy | |
| - name: Go vet | |
| run: go vet ./... | |
| - name: Go test | |
| run: go test ./... -count=1 -timeout 300s | |
| - name: Go build | |
| run: go build ./... | |
| env: | |
| CGO_ENABLED: 0 | |
| core_race: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: "1.24.13" | |
| cache: true | |
| - name: Go mod tidy | |
| run: go mod tidy | |
| - name: Core race tests | |
| run: go test -race ./server/internal/core -count=1 -timeout 300s | |
| mock_implant: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: "1.24.13" | |
| cache: true | |
| - name: Go mod tidy | |
| run: go mod tidy | |
| - name: Mock implant E2E tests | |
| run: go test -tags=mockimplant ./server -count=1 -timeout 300s | |
| integration: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: "1.24.13" | |
| cache: true | |
| - name: Go mod tidy | |
| run: go mod tidy | |
| - name: Client/Server integration tests | |
| run: go test -tags=integration ./server ./client/command/listener ./client/command/pipeline ./client/command/website ./client/command/sessions ./client/command/context -count=1 -timeout 300s |