Skip to content

Commit

Permalink
feat(actions): Update versions
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikstranneheim committed Mar 1, 2024
1 parent 2934dfc commit f5cce5e
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 19 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/merge_master_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,26 +23,26 @@ 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
shell: bash
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
Expand All @@ -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"

Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/pull_request_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -20,26 +20,26 @@ 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
shell: bash
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
Expand All @@ -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"

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,26 +12,26 @@ 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
shell: bash
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
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ coveralls
pre-commit
pylint
pytest-cov
pytest>=5.2
pytest>=5.2<

0 comments on commit f5cce5e

Please sign in to comment.