curl-impersonate: A special build of curl that can impersonate Chrome & Firefox
Add GitHub actions workflow to build and test
lwthiker635f2ca63cd4
diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.ymlnew file mode 100644index 0000000..4be64be--- /dev/null+++ b/.github/workflows/build-and-test.yml@@ -0,0 +1,28 @@+name: Build and test++on:+ pull_request:+ branches:+ - main++jobs:+ build-and-test:+ name: Build curl-impersonate and run the tests+ runs-on: ubuntu-latest+ steps:+ - name: Set up Docker Buildx+ uses: docker/setup-buildx-action@v1++ - name: Build the Chrome version of curl-impersonate+ uses: docker/build-push-action@v2+ with:+ push: false+ context: chrome/+ tags: curl-impersonate-chrome:latest++ - name: Build the Firefox version of curl-impersonate+ uses: docker/build-push-action@v2+ with:+ push: false+ context: firefox/+ tags: curl-impersonate-firefox:latest