Skip to content

Commit

Permalink
ci: Bump actions/upload-artifact to v4 (#511)
Browse files Browse the repository at this point in the history
Fixes #489
  • Loading branch information
valarnin authored Nov 25, 2024
1 parent 2b21e4b commit d4449b8
Show file tree
Hide file tree
Showing 19 changed files with 24 additions and 97 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-artifact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
msbuild:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: ./.github/actions/setup-js-env

Expand All @@ -43,7 +43,7 @@ jobs:
- name: Check dependencies cache
id: cache-dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ./plugin/ThirdParty
key: |
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:
run: ./util/publish.sh

- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: cactbot-${{ env.artifact_sha }}
path: publish/cactbot-release/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/css-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
stylelint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: ./.github/actions/setup-js-env

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/javascript-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
eslint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: ./.github/actions/setup-js-env

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/label-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
needs: job_picker
if: needs.job_picker.outputs.run == 'pr_review'
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
# Force checkout the main repo (base branch) so that repo secrets
# are not available to unexpected/malicious PR code.
Expand Down Expand Up @@ -104,7 +104,7 @@ jobs:
needs: job_picker
if: needs.job_picker.outputs.run == 'push_commit'
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
# Force checkout the main repo (base branch) so that repo secrets
# are not available to unexpected/malicious PR code.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint-pr-title.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
# Force checkout the main repo (base branch) so that repo secrets
# are not available to unexpected/malicious PR code.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/markdown-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
markdownlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: ./.github/actions/setup-js-env

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/post-process.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
postprocess:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: ./.github/actions/setup-js-env

Expand Down
56 changes: 0 additions & 56 deletions .github/workflows/python-lint.yml

This file was deleted.

10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
do_release: ${{ steps.check_tag.outputs.do_release }}
steps:
- name: Checkout Code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down Expand Up @@ -44,7 +44,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -64,7 +64,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}
steps:
- name: Checkout Code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -75,7 +75,7 @@ jobs:

- name: Check dependencies cache
id: cache-dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ./plugin/ThirdParty
key: |
Expand Down Expand Up @@ -156,7 +156,7 @@ jobs:
if: ${{ github.repository == 'OverlayPlugin/cactbot' }}
steps:
- name: Checkout Code
uses: actions/checkout@v3
uses: actions/checkout@v4

- uses: ./.github/actions/setup-js-env

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-sync-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: ./.github/actions/setup-js-env

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-validate-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: ./.github/actions/setup-js-env

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: ./.github/actions/setup-js-env

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/update-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
needs: check-gh-pages
if: needs.check-gh-pages.outputs.found == 'true'
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: ./.github/actions/setup-js-env

Expand All @@ -38,7 +38,7 @@ jobs:
npm run build-gh-pages
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/update-triggers-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
needs: check-triggers
if: needs.check-triggers.outputs.found == 'true'
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: ./.github/actions/setup-js-env

Expand All @@ -37,7 +37,7 @@ jobs:
npm run process-triggers
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist/triggers/ui/raidboss/data
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/workflow-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install yamllint
run: |
Expand Down
4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ node_modules
.DS_Store
util/DEPS.cache

# Python
__pycache__
*.py[cod]
*$py.class
# Environments
.env
.venv
Expand Down
4 changes: 1 addition & 3 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
"dbaeumer.vscode-eslint",
"EditorConfig.EditorConfig",
"maikotan.cactbot-highlight",
"dprint.dprint",
"ms-python.black-formatter",
"ms-python.pylint"
"dprint.dprint"
]
}
10 changes: 0 additions & 10 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,6 @@
"**/node_modules": true,
"dist/**": true
},
"[python]": {
"editor.tabSize": 4,
"editor.formatOnSave": true,
/**
* Although format mode could be set as "modification",
* unfortunately `black` does not support "Format Selection"
*/
"editor.formatOnSaveMode": "file",
"editor.defaultFormatter": "ms-python.black-formatter"
},
"[javascript]": {
"editor.defaultFormatter": "dprint.dprint"
},
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@
"eslint --max-warnings=0 --plugin tsc --rule 'tsc/config: [2, {configFile: \"./tsconfig.json\"}]'"
],
"*.md": "markdownlint",
"*.py": "python -m pylint --errors-only",
"ui/(raidboss|oopsyraidsy)/data/**": [
"node --loader=ts-node/esm test/test_data_files.ts"
]
Expand Down

0 comments on commit d4449b8

Please sign in to comment.