From da7ee12f7334e4613fc1f3a370fb0e6bb8f87f4a Mon Sep 17 00:00:00 2001 From: Jason Costomiris Date: Tue, 13 Feb 2024 12:08:39 -0500 Subject: [PATCH] add automated pr testing --- .github/workflows/pr_docker_test.yml | 25 +++++++++++++++++++++++++ rollerblades.py | 2 +- 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/pr_docker_test.yml diff --git a/.github/workflows/pr_docker_test.yml b/.github/workflows/pr_docker_test.yml new file mode 100644 index 0000000..46c7349 --- /dev/null +++ b/.github/workflows/pr_docker_test.yml @@ -0,0 +1,25 @@ +name: test docker build on pr + +on: + pull_request: + branches: [ "main"] + +jobs: + testbuild: + runs-on: ubuntu-latest + steps: + - name: checkout code + uses: actions/checkout@v4 + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + with: + platforms: all + - name: Docker Setup Buildx + id: buildx + uses: docker/setup-buildx-action@v3 + - name: Build + uses: docker/build-push-action@v5 + with: + context: . + platforms: linux/amd64,linux/arm64 + push: false diff --git a/rollerblades.py b/rollerblades.py index 1e0dc03..088dfe9 100755 --- a/rollerblades.py +++ b/rollerblades.py @@ -22,7 +22,7 @@ DEBUG = int(os.getenv('DEBUG', 0)) # --- Globals --- -VER = '1.1.1' +VER = '1.1.2' USER_AGENT = f"rollerblades.py/{VER}" KEY = 'CinemaTrailersPrerollID'