diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c73a9b0..3e5ded6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,12 +17,10 @@ jobs: - name: Checkout submodules run: | git submodule update --init --recursive - go mod tidy - go mod vendor - name: Set up Go uses: actions/setup-go@v2 with: - go-version: 1.20 + go-version: 1.21.4 - name: Install Dependences run: | brew install libpcap @@ -46,12 +44,10 @@ jobs: - name: Checkout submodules run: | git submodule update --init --recursive - go mod tidy - go mod vendor - name: Set up Go uses: actions/setup-go@v2 with: - go-version: 1.20 + go-version: 1.21.4 - name: Install Dependences run: | sudo apt install -yy libpcap-dev @@ -78,12 +74,10 @@ jobs: - name: Checkout submodules run: | git submodule update --init --recursive - go mod tidy - go mod vendor - name: Set up Go uses: actions/setup-go@v2 with: - go-version: 1.20 + go-version: 1.21.4 - name: Run GoReleaser uses: goreleaser/goreleaser-action@v2 with: diff --git a/go.mod b/go.mod index 11a5439..8a781ff 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,6 @@ module github.com/hktalent/ksubdomain -go 1.21 - -toolchain go1.21.4 +go 1.21.4 require ( github.com/dgraph-io/badger v1.6.2