diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b62a573..b477113 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,17 +24,13 @@ jobs: go-version: '1.26.1' - name: Download dependencies - run: go mod download + run: make deps - name: Run tests - run: go test -v ./... + run: make test - name: Build plugin (Linux AMD64) - run: | - mkdir -p build - CGO_ENABLED=1 GOOS=linux GOARCH=amd64 \ - go build -buildmode=plugin -ldflags='-w -s' -trimpath \ - -o build/encoding-format.so main.go + run: make build GOOS=linux GOARCH=amd64 - name: Upload build artifact uses: actions/upload-artifact@v4