Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 17 additions & 17 deletions .github/workflows/auto-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:

steps:
- name: 📥 Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
fetch-depth: 2

Expand Down Expand Up @@ -105,13 +105,13 @@ jobs:

steps:
- name: 📥 Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0

- name: 🔧 Setup Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: ${{ env.NODE_VERSION }}

Expand Down Expand Up @@ -172,17 +172,17 @@ jobs:

steps:
- name: 📥 Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
ref: ${{ github.ref }}

- name: 🔧 Setup Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: ${{ env.NODE_VERSION }}

- name: 🐍 Setup Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: ${{ env.PYTHON_VERSION }}

Expand Down Expand Up @@ -212,7 +212,7 @@ jobs:
hatch build

- name: 💾 Upload build artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: packages-${{ github.sha }}
path: |
Expand All @@ -230,12 +230,12 @@ jobs:

steps:
- name: 📥 Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
ref: ${{ github.ref }}

- name: 🔧 Setup Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: ${{ env.NODE_VERSION }}
registry-url: 'https://registry.npmjs.org'
Expand All @@ -248,7 +248,7 @@ jobs:
node scripts/sync-versions.js release ${{ needs.detect-release.outputs.release_type }} ${{ needs.detect-release.outputs.channel }} > /dev/null

- name: 📥 Download build artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@v7
with:
name: packages-${{ github.sha }}
path: ./artifacts/
Expand Down Expand Up @@ -301,17 +301,17 @@ jobs:

steps:
- name: 📥 Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
ref: ${{ github.ref }}

- name: 🔧 Setup Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: ${{ env.NODE_VERSION }}

- name: 🐍 Setup Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: ${{ env.PYTHON_VERSION }}

Expand All @@ -323,7 +323,7 @@ jobs:
node scripts/sync-versions.js release ${{ needs.detect-release.outputs.release_type }} ${{ needs.detect-release.outputs.channel }} > /dev/null

- name: 📥 Download build artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@v7
with:
name: packages-${{ github.sha }}
path: ./artifacts/
Expand Down Expand Up @@ -361,13 +361,13 @@ jobs:

steps:
- name: 📥 Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
ref: ${{ github.ref }}
fetch-depth: 0

- name: 📥 Download build artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@v7
with:
name: packages-${{ github.sha }}
path: ./artifacts/
Expand Down Expand Up @@ -443,7 +443,7 @@ jobs:
EOF

- name: 🚀 Create GitHub Release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
tag_name: v${{ needs.bump-version.outputs.new_version }}
name: v${{ needs.bump-version.outputs.new_version }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/ci-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ jobs:

steps:
- name: 📥 Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
fetch-depth: 0

- name: 📦 Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
Expand Down Expand Up @@ -97,7 +97,7 @@ jobs:
fi

- name: 📈 Upload coverage to Codecov
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v5
with:
file: ${{ env.PACKAGE_DIR }}/coverage/lcov.info
flags: javascript
Expand All @@ -106,7 +106,7 @@ jobs:
verbose: true

- name: 💾 Cache build outputs
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ${{ env.PACKAGE_DIR }}/dist/
key: js-build-${{ runner.os }}-node${{ matrix.node-version }}-${{ hashFiles('packages/js/src/**/*', 'packages/js/tsconfig.json', 'packages/js/package.json') }}
Expand All @@ -115,7 +115,7 @@ jobs:
js-build-${{ runner.os }}-

- name: 💾 Upload build artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
if: matrix.node-version == 18 # Only upload once
with:
name: js-build-artifacts-${{ github.sha }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/ci-py.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ jobs:

steps:
- name: 📥 Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
fetch-depth: 0

- name: 🐍 Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}

Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:
fi

- name: 📈 Upload coverage to Codecov
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v5
continue-on-error: true
with:
file: ${{ env.PACKAGE_DIR }}/coverage.xml
Expand All @@ -116,7 +116,7 @@ jobs:
run: hatch build

- name: 💾 Cache Python packages
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: |
~/.cache/pip
Expand All @@ -127,7 +127,7 @@ jobs:
py-deps-${{ runner.os }}-

- name: 💾 Upload build artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
if: matrix.python-version == '3.11' # Only upload once
with:
name: py-build-artifacts-${{ github.sha }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ jobs:

steps:
- name: 📥 Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
fetch-depth: 0 # Needed for codecov and semantic-release

- name: 📦 Setup Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: ${{ env.NODE_VERSION }}
cache: 'npm'
Expand Down Expand Up @@ -88,7 +88,7 @@ jobs:
fi

- name: 📈 Upload coverage to Codecov
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v5
with:
file: ${{ env.PACKAGE_DIR }}/coverage/lcov.info
flags: glin-profanity
Expand All @@ -97,7 +97,7 @@ jobs:
verbose: true

- name: 💾 Upload build artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: build-artifacts-${{ github.sha }}
path: |
Expand All @@ -106,7 +106,7 @@ jobs:
retention-days: 7

- name: 💾 Upload test results
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
if: always()
with:
name: test-results-${{ github.sha }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

steps:
- name: 📥 Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: 🔒 Dependency Review
uses: actions/dependency-review-action@v4
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/release-py.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ jobs:
python-version: ['3.11']
steps:
- name: 📥 Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
fetch-depth: 0

- name: 🐍 Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}

Expand Down Expand Up @@ -92,12 +92,12 @@ jobs:

steps:
- name: 📥 Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
fetch-depth: 0

- name: 🐍 Setup Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: ${{ env.PYTHON_VERSION }}

Expand Down Expand Up @@ -133,7 +133,7 @@ jobs:
HATCH_INDEX_AUTH: ${{ secrets.PYPI_TOKEN }}

- name: 💾 Upload Python artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: python-dist-${{ github.sha }}
path: ./packages/py/dist/*
Expand All @@ -148,18 +148,18 @@ jobs:

steps:
- name: 📥 Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
fetch-depth: 0

- name: 📥 Download Python artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@v7
with:
name: python-dist-${{ github.sha }}
path: ./artifacts/

- name: 🏷️ Create GitHub Release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
continue-on-error: true
with:
tag_name: py-v${{ needs.release.outputs.version }}
Expand Down
Loading