aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2023-11-13 14:26:20 +0000
committerGravatar Chris Lovering <[email protected]>2023-12-06 10:31:28 +0000
commit9a1a10f30d2edb6fa285a987c62e77e8ec92a369 (patch)
tree66934cee62525af1ee503f1f85872bae90480fc2
parentLint repo with new ruff rules (diff)
Update CI to latest step versions
-rw-r--r--.github/workflows/build-deploy.yml12
-rw-r--r--.github/workflows/lint.yml6
2 files changed, 9 insertions, 9 deletions
diff --git a/.github/workflows/build-deploy.yml b/.github/workflows/build-deploy.yml
index b797e17..3279297 100644
--- a/.github/workflows/build-deploy.yml
+++ b/.github/workflows/build-deploy.yml
@@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
# The current version (v2) of Docker's build-push action uses
# buildx, which comes with BuildKit features that help us speed
@@ -24,17 +24,17 @@ jobs:
# See https://github.com/docker/build-push-action
- name: Set up Docker Buildx
- uses: docker/setup-buildx-action@v2
+ uses: docker/setup-buildx-action@v3
- name: Login to Github Container Registry
- uses: docker/login-action@v2
+ uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Generate docker image metadata
- uses: docker/metadata-action@v4
+ uses: docker/metadata-action@v5
id: meta
with:
images: ghcr.io/python-discord/metricity
@@ -45,7 +45,7 @@ jobs:
type=semver,pattern=v{{major}},enable=${{ startsWith(github.ref, 'refs/tags/v') }}
- name: Build and push
- uses: docker/build-push-action@v4
+ uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
@@ -63,7 +63,7 @@ jobs:
if: ${{ github.ref == 'refs/heads/main' }}
steps:
- name: Checkout code
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
- uses: azure/setup-kubectl@v3
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 8d61f54..4c10548 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -8,10 +8,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout branch
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
- name: Install Python Dependencies
- uses: HassanAbouelela/actions/setup-python@setup-python_v1.4.1
+ uses: HassanAbouelela/actions/setup-python@setup-python_v1.4.2
with:
python_version: '3.11'
@@ -19,4 +19,4 @@ jobs:
run: SKIP=ruff pre-commit run --all-files
- name: Lint code with ruff
- run: ruff check --format=github .
+ run: ruff check --output-format=github .