Skip to content

Commit

Permalink
chore: update github action workflows (#661)
Browse files Browse the repository at this point in the history
  • Loading branch information
NiceAesth authored Apr 21, 2024
1 parent 7d84eb7 commit eab53cf
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
platforms: linux/amd64, linux/arm64

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

- name: Build
uses: docker/build-push-action@v5
Expand All @@ -36,7 +36,7 @@ jobs:
cache-to: type=gha,mode=max

- name: Upload artifact
uses: actions/upload-artifact@v3.1.3
uses: actions/upload-artifact@v4
with:
name: docker
path: /tmp/docker.tar
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.11"
cache: "pip"
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/sync-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,25 @@ on:
branches:
- master
paths:
- '.github/docs/wiki/**'
- ".github/docs/wiki/**"
repository_dispatch:
types: [docs]
gollum:

env:
REPO_PATH: '.github/docs/wiki'
WIKI_PATH: 'wiki'
GIT_USERNAME: 'github-actions[bot]'
GIT_EMAIL: '[email protected]'
GIT_COMMIT_MESSAGE: 'docs: Bidirectional sync between docs and wiki'
REPO_PATH: ".github/docs/wiki"
WIKI_PATH: "wiki"
GIT_USERNAME: "github-actions[bot]"
GIT_EMAIL: "[email protected]"
GIT_COMMIT_MESSAGE: "docs: Bidirectional sync between docs and wiki"

jobs:
sync-docs-to-wiki:
if: github.repository == 'osuAkatsuki/bancho.py' && github.event_name != 'gollum'
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Push files into wiki repo
uses: newrelic/wiki-sync-action@main
with:
Expand All @@ -40,7 +40,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
ref: master
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Build application image
run: docker build -t bancho:latest .
Expand All @@ -68,7 +68,7 @@ jobs:
run: docker-compose down

- name: Archive code coverage results
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: code-coverage-report
path: coverage/

0 comments on commit eab53cf

Please sign in to comment.