Skip to content

Commit

Permalink
Merge pull request #307 from Clinical-Genomics/fix_deprecated_action
Browse files Browse the repository at this point in the history
Updated version of external images used in GitHub actions
  • Loading branch information
northwestwitch authored Jun 3, 2024
2 parents 232124b + a8440ba commit 7e845ac
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 16 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/black.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- uses: psf/black@stable
6 changes: 3 additions & 3 deletions .github/workflows/build_and_push_docker_stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,22 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out git repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Extract branch name and remove illegal chars
id: get_branch_name
shell: bash
run: echo "branch=$(echo "$(tr "/" "-" <<<${GITHUB_REF#refs/heads/})")" >>$GITHUB_OUTPUT

- name: Login to Docker Hub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Build and push
id: docker_build
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/docker_build_on_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ jobs:
steps:

- name: Check Out Repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Login to Docker Hub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Build and push
id: docker_build
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/mkdocs_publishing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.x
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- uses: actions/cache@v3
- uses: actions/cache@v4
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pypi_build_and_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out git repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Python 3.9
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.9

- name: Install poetry
uses: abatilo/actions-poetry@v2
uses: abatilo/actions-poetry@v3

- name: Build and publish to PYPI
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/vulture.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
name: vulture
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Find changed Python files
id: files
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/woke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: woke
uses: get-woke/woke-action@v0
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [unreleased]
### Fixed
- Updated version of external images used in GitHub actions

## [1.7]
### Added
- An environment.yml with the minimum supported python version (3.8) and the installed libs
Expand Down

0 comments on commit 7e845ac

Please sign in to comment.