From f5cce5eaa11fb843dd4053444d3028ef899c63f6 Mon Sep 17 00:00:00 2001 From: henrikstranneheim Date: Fri, 1 Mar 2024 17:52:14 +0100 Subject: [PATCH] feat(actions): Update versions --- .github/workflows/merge_master_ci.yml | 12 ++++++------ .github/workflows/pull_request_ci.yml | 16 ++++++++-------- .github/workflows/release_ci.yml | 8 ++++---- requirements-dev.txt | 2 +- 4 files changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/workflows/merge_master_ci.yml b/.github/workflows/merge_master_ci.yml index 867b5ca..bfdc806 100644 --- a/.github/workflows/merge_master_ci.yml +++ b/.github/workflows/merge_master_ci.yml @@ -23,7 +23,7 @@ jobs: name: Create staging image steps: - name: Check out git repository - uses: actions/checkout@v2 + uses: actions/checkout@v4.1.1 - name: Extract branch name and remove illegal chars id: get_branch_name @@ -31,18 +31,18 @@ jobs: run: echo "##[set-output name=branch;]$(echo "$(tr "/" "-" <<<${GITHUB_REF#refs/heads/})")" - name: Login to Docker Hub - uses: docker/login-action@v1 + uses: docker/login-action@v3.0.0 with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - name: Set up Docker Buildx id: buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v3.1.0 - name: Build and push id: docker_build - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v5.1.0 with: context: ./ file: ./Dockerfile @@ -54,12 +54,12 @@ jobs: name: Test and coveralls steps: - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5.0.0 with: python-version: "3.10" - name: Check out genotype-api - uses: actions/checkout@v2 + uses: actions/checkout@v4.1.1 with: repository: "Clinical-Genomics/genotype-api" diff --git a/.github/workflows/pull_request_ci.yml b/.github/workflows/pull_request_ci.yml index 7b98fb0..3aad712 100644 --- a/.github/workflows/pull_request_ci.yml +++ b/.github/workflows/pull_request_ci.yml @@ -9,8 +9,8 @@ jobs: runs-on: ubuntu-latest name: Black steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - uses: actions/checkout@v4.1.1 + - uses: actions/setup-python@v5.0.0 - uses: psf/black@stable with: black_args: ". --check --line-length 100" @@ -20,7 +20,7 @@ jobs: name: Create staging docker image steps: - name: Check out git repository - uses: actions/checkout@v2 + uses: actions/checkout@v4.1.1 - name: Extract branch name and remove illegal chars id: get_branch_name @@ -28,18 +28,18 @@ jobs: run: echo "##[set-output name=branch;]$(echo "$(tr "/" "-" <<<${GITHUB_REF#refs/heads/})")" - name: Login to Docker Hub - uses: docker/login-action@v1 + uses: docker/login-action@v3.0.0 with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - name: Set up Docker Buildx id: buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v3.1.0 - name: Build and push id: docker_build - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v5.1.0 with: context: ./ file: ./Dockerfile @@ -51,12 +51,12 @@ jobs: name: Test and coveralls steps: - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5.0.0 with: python-version: "3.10" - name: Check out genotype-api - uses: actions/checkout@v2 + uses: actions/checkout@v4.1.1 with: repository: "Clinical-Genomics/genotype-api" diff --git a/.github/workflows/release_ci.yml b/.github/workflows/release_ci.yml index 8f74478..6a2dfcf 100644 --- a/.github/workflows/release_ci.yml +++ b/.github/workflows/release_ci.yml @@ -12,7 +12,7 @@ jobs: name: Push production docker image to dockerhub steps: - name: Check out git repository - uses: actions/checkout@v2 + uses: actions/checkout@v4.1.1 - name: Extract branch name and remove illegal chars id: get_branch_name @@ -20,18 +20,18 @@ jobs: run: echo "##[set-output name=branch;]$(echo "$(tr "/" "-" <<<${GITHUB_REF#refs/heads/})")" - name: Login to Docker Hub - uses: docker/login-action@v1 + uses: docker/login-action@v3.0.0 with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - name: Set up Docker Buildx id: buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v3.1.0 - name: Build and push id: docker_build - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v5.1.0 with: context: ./ file: ./Dockerfile diff --git a/requirements-dev.txt b/requirements-dev.txt index 261bbf2..8c2cca8 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -3,4 +3,4 @@ coveralls pre-commit pylint pytest-cov -pytest>=5.2 \ No newline at end of file +pytest>=5.2< \ No newline at end of file