Skip to content

Commit

Permalink
Merge pull request #17 from alan-turing-institute/update-dependencies
Browse files Browse the repository at this point in the history
Update dependencies
  • Loading branch information
jemrobinson authored Feb 23, 2024
2 parents 54b3663 + 140e2f8 commit df5f91d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 14 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Lint Markdown
uses: articulate/actions-markdownlint@v1
with:
Expand All @@ -23,7 +23,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
Expand All @@ -37,7 +37,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Lint YAML
uses: karancode/[email protected]
with:
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/publish_docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,24 +20,23 @@ jobs:
contents: read
steps:
- name: Check out the repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Log in to the Container registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/${{ github.repository }}
images: ghcr.io/${{ github.repository }}

- name: Build and publish Docker images
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
push: true
tags: ${{ steps.meta.outputs.tags }}
Expand Down
10 changes: 5 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ packages = ["."]
[tool.hatch.envs.lint]
detached = true
dependencies = [
"black>=24.2.0",
"mypy>=1.8.0",
"ruff>=0.2.0",
"types-oauthlib>=3.2.0",
"black~=24.2.0",
"mypy~=1.8.0",
"ruff~=0.2.0",
"types-oauthlib~=3.2.0",
]

[tool.hatch.envs.lint.scripts]
Expand Down Expand Up @@ -94,7 +94,7 @@ select = [
"PLW", # pylint warning
"Q", # flake8-quotes
"RUF", # ruff rules
"S", # flake8-bandits
"S", # flake8-bandit
"T", # flake8-debugger and flake8-print
"TID", # flake8-tidy-imports
"UP", # pyupgrade
Expand Down

0 comments on commit df5f91d

Please sign in to comment.