From 7415490391fe21cc6168c15bec0ac23d2324feda Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 27 Mar 2026 23:49:12 +0000 Subject: [PATCH 1/2] Initial plan From b57e727badba9225289e2131528bd041c43e1872 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 27 Mar 2026 23:50:39 +0000 Subject: [PATCH 2/2] Use Makefile targets in GitHub Actions workflow Agent-Logs-Url: https://github.com/lukoerfer/bifrost-encoding-format-plugin/sessions/3a781e6b-3876-4a91-a9ab-0bba14903a02 Co-authored-by: lukoerfer <10530659+lukoerfer@users.noreply.github.com> --- .github/workflows/build.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) 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