diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cc1130a..c5c36ef 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -56,16 +56,16 @@ jobs: run: | mkdir -p "$GITHUB_WORKSPACE/bin" go build -C go-src -o "$GITHUB_WORKSPACE/bin/publiccode-parser" \ - github.com/italia/publiccode-parser-go/v5/publiccode-parser + github.com/publiccodeyml/libpubliccode/v5/publiccode-parser - name: Add bin to PATH run: echo "$GITHUB_WORKSPACE/bin" >> $GITHUB_PATH - name: Download test fixtures run: | - VERSION=$(go list -C go-src -m -f '{{.Version}}' github.com/italia/publiccode-parser-go/v5) - git clone --depth 1 --branch $VERSION https://github.com/italia/publiccode-parser-go.git /tmp/publiccode-parser-go - mv /tmp/publiccode-parser-go/testdata/* tests/fixtures/testdata/ + VERSION=$(go list -C go-src -m -f '{{.Version}}' github.com/publiccodeyml/libpubliccode/v5) + git clone --depth 1 --branch $VERSION https://github.com/publiccodeyml/libpubliccode.git /tmp/libpubliccode + mv /tmp/libpubliccode/testdata/* tests/fixtures/testdata/ - name: Run tests run: composer run test diff --git a/README.md b/README.md index 06daf30..5db51dd 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # PHP publiccode.yml parser -PHP bindings for the [publiccode-parser-go](https://github.com/italia/publiccode-parser-go) library. Parse and validate `publiccode.yml` files in your PHP projects. +PHP bindings for the [libpubliccode](https://github.com/publiccodeyml/libpubliccode) library. Parse and validate `publiccode.yml` files in your PHP projects. ## Installation diff --git a/go-src/go.mod b/go-src/go.mod index 08df147..628c61a 100644 --- a/go-src/go.mod +++ b/go-src/go.mod @@ -2,7 +2,7 @@ module publiccode-parser-wrapper go 1.25.0 -require github.com/italia/publiccode-parser-go/v5 v5.4.3 +require github.com/publiccodeyml/libpubliccode/v5 v5.5.0 require ( github.com/alranel/go-vcsurl/v2 v2.1.1 // indirect diff --git a/go-src/publiccode-parser-wrapper.go b/go-src/publiccode-parser-wrapper.go index 22a85f1..af14f5e 100644 --- a/go-src/publiccode-parser-wrapper.go +++ b/go-src/publiccode-parser-wrapper.go @@ -33,7 +33,7 @@ import ( "time" "unsafe" - "github.com/italia/publiccode-parser-go/v5" + "github.com/publiccodeyml/libpubliccode/v5" ) //export NewParser diff --git a/tests/fixtures/testdata/README b/tests/fixtures/testdata/README index f9bf2f0..5355122 100644 --- a/tests/fixtures/testdata/README +++ b/tests/fixtures/testdata/README @@ -1,2 +1,2 @@ -This directory will be populated with test files from the publiccode-parser-go repository +This directory will be populated with test files from the libpubliccode repository by the CI test script.