28eb2e2aa4
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/cache](https://github.com/actions/cache) | action | major | `v4.2.0` → `v5.0.5` | --- ### Release Notes <details> <summary>actions/cache (actions/cache)</summary> ### [`v5.0.5`](https://github.com/actions/cache/releases/tag/v5.0.5) [Compare Source](https://github.com/actions/cache/compare/v5.0.4...v5.0.5) #### What's Changed - Update ts-http-runtime dependency by [@​yacaovsnc](https://github.com/yacaovsnc) in [#​1747](https://github.com/actions/cache/pull/1747) **Full Changelog**: <https://github.com/actions/cache/compare/v5...v5.0.5> ### [`v5.0.4`](https://github.com/actions/cache/releases/tag/v5.0.4) [Compare Source](https://github.com/actions/cache/compare/v5.0.3...v5.0.4) #### What's Changed - Add release instructions and update maintainer docs by [@​Link-](https://github.com/Link-) in [#​1696](https://github.com/actions/cache/pull/1696) - Potential fix for code scanning alert no. 52: Workflow does not contain permissions by [@​Link-](https://github.com/Link-) in [#​1697](https://github.com/actions/cache/pull/1697) - Fix workflow permissions and cleanup workflow names / formatting by [@​Link-](https://github.com/Link-) in [#​1699](https://github.com/actions/cache/pull/1699) - docs: Update examples to use the latest version by [@​XZTDean](https://github.com/XZTDean) in [#​1690](https://github.com/actions/cache/pull/1690) - Fix proxy integration tests by [@​Link-](https://github.com/Link-) in [#​1701](https://github.com/actions/cache/pull/1701) - Fix cache key in examples.md for bun.lock by [@​RyPeck](https://github.com/RyPeck) in [#​1722](https://github.com/actions/cache/pull/1722) - Update dependencies & patch security vulnerabilities by [@​Link-](https://github.com/Link-) in [#​1738](https://github.com/actions/cache/pull/1738) #### New Contributors - [@​XZTDean](https://github.com/XZTDean) made their first contribution in [#​1690](https://github.com/actions/cache/pull/1690) - [@​RyPeck](https://github.com/RyPeck) made their first contribution in [#​1722](https://github.com/actions/cache/pull/1722) **Full Changelog**: <https://github.com/actions/cache/compare/v5...v5.0.4> ### [`v5.0.3`](https://github.com/actions/cache/releases/tag/v5.0.3) [Compare Source](https://github.com/actions/cache/compare/v5.0.2...v5.0.3) #### What's Changed - Bump `@actions/cache` to v5.0.5 (Resolves: <https://github.com/actions/cache/security/dependabot/33>) - Bump `@actions/core` to v2.0.3 **Full Changelog**: <https://github.com/actions/cache/compare/v5...v5.0.3> ### [`v5.0.2`](https://github.com/actions/cache/releases/tag/v5.0.2): v.5.0.2 [Compare Source](https://github.com/actions/cache/compare/v5.0.1...v5.0.2) ### v5.0.2 #### What's Changed When creating cache entries, 429s returned from the cache service will not be retried. ### [`v5.0.1`](https://github.com/actions/cache/releases/tag/v5.0.1) [Compare Source](https://github.com/actions/cache/compare/v5.0.0...v5.0.1) > \[!IMPORTANT] > **`actions/cache@v5` runs on the Node.js 24 runtime and requires a minimum Actions Runner version of `2.327.1`.** > > If you are using self-hosted runners, ensure they are updated before upgrading. *** ### v5.0.1 #### What's Changed - fix: update [@​actions/cache](https://github.com/actions/cache) for Node.js 24 punycode deprecation by [@​salmanmkc](https://github.com/salmanmkc) in [#​1685](https://github.com/actions/cache/pull/1685) - prepare release v5.0.1 by [@​salmanmkc](https://github.com/salmanmkc) in [#​1686](https://github.com/actions/cache/pull/1686) ### v5.0.0 #### What's Changed - Upgrade to use node24 by [@​salmanmkc](https://github.com/salmanmkc) in [#​1630](https://github.com/actions/cache/pull/1630) - Prepare v5.0.0 release by [@​salmanmkc](https://github.com/salmanmkc) in [#​1684](https://github.com/actions/cache/pull/1684) **Full Changelog**: <https://github.com/actions/cache/compare/v5...v5.0.1> ### [`v5.0.0`](https://github.com/actions/cache/releases/tag/v5.0.0) [Compare Source](https://github.com/actions/cache/compare/v4.3.0...v5.0.0) > \[!IMPORTANT] > **`actions/cache@v5` runs on the Node.js 24 runtime and requires a minimum Actions Runner version of `2.327.1`.** > > If you are using self-hosted runners, ensure they are updated before upgrading. *** #### What's Changed - Upgrade to use node24 by [@​salmanmkc](https://github.com/salmanmkc) in [#​1630](https://github.com/actions/cache/pull/1630) - Prepare v5.0.0 release by [@​salmanmkc](https://github.com/salmanmkc) in [#​1684](https://github.com/actions/cache/pull/1684) **Full Changelog**: <https://github.com/actions/cache/compare/v4.3.0...v5.0.0> ### [`v4.3.0`](https://github.com/actions/cache/releases/tag/v4.3.0) [Compare Source](https://github.com/actions/cache/compare/v4.2.4...v4.3.0) #### What's Changed - Add note on runner versions by [@​GhadimiR](https://github.com/GhadimiR) in [#​1642](https://github.com/actions/cache/pull/1642) - Prepare `v4.3.0` release by [@​Link-](https://github.com/Link-) in [#​1655](https://github.com/actions/cache/pull/1655) #### New Contributors - [@​GhadimiR](https://github.com/GhadimiR) made their first contribution in [#​1642](https://github.com/actions/cache/pull/1642) **Full Changelog**: <https://github.com/actions/cache/compare/v4...v4.3.0> ### [`v4.2.4`](https://github.com/actions/cache/releases/tag/v4.2.4) [Compare Source](https://github.com/actions/cache/compare/v4.2.3...v4.2.4) #### What's Changed - Update README.md by [@​nebuk89](https://github.com/nebuk89) in [#​1620](https://github.com/actions/cache/pull/1620) - Upgrade `@actions/cache` to `4.0.5` and move `@protobuf-ts/plugin` to dev depdencies by [@​Link-](https://github.com/Link-) in [#​1634](https://github.com/actions/cache/pull/1634) - Prepare release `4.2.4` by [@​Link-](https://github.com/Link-) in [#​1636](https://github.com/actions/cache/pull/1636) #### New Contributors - [@​nebuk89](https://github.com/nebuk89) made their first contribution in [#​1620](https://github.com/actions/cache/pull/1620) **Full Changelog**: <https://github.com/actions/cache/compare/v4...v4.2.4> ### [`v4.2.3`](https://github.com/actions/cache/releases/tag/v4.2.3) [Compare Source](https://github.com/actions/cache/compare/v4.2.2...v4.2.3) #### What's Changed - Update to use [@​actions/cache](https://github.com/actions/cache) 4.0.3 package & prepare for new release by [@​salmanmkc](https://github.com/salmanmkc) in [#​1577](https://github.com/actions/cache/pull/1577) (SAS tokens for cache entries are now masked in debug logs) #### New Contributors - [@​salmanmkc](https://github.com/salmanmkc) made their first contribution in [#​1577](https://github.com/actions/cache/pull/1577) **Full Changelog**: <https://github.com/actions/cache/compare/v4.2.2...v4.2.3> ### [`v4.2.2`](https://github.com/actions/cache/releases/tag/v4.2.2) [Compare Source](https://github.com/actions/cache/compare/v4.2.1...v4.2.2) #### What's Changed > \[!IMPORTANT] > As a reminder, there were important backend changes to release v4.2.0, see [those release notes](https://github.com/actions/cache/releases/tag/v4.2.0) and [the announcement](https://github.com/actions/cache/discussions/1510) for more details. - Bump [@​actions/cache](https://github.com/actions/cache) to v4.0.2 by [@​robherley](https://github.com/robherley) in [#​1560](https://github.com/actions/cache/pull/1560) **Full Changelog**: <https://github.com/actions/cache/compare/v4.2.1...v4.2.2> ### [`v4.2.1`](https://github.com/actions/cache/releases/tag/v4.2.1) [Compare Source](https://github.com/actions/cache/compare/v4.2.0...v4.2.1) #### What's Changed > \[!IMPORTANT] > As a reminder, there were important backend changes to release v4.2.0, see [those release notes](https://github.com/actions/cache/releases/tag/v4.2.0) and [the announcement](https://github.com/actions/cache/discussions/1510) for more details. - docs: GitHub is spelled incorrectly in caching-strategies.md by [@​janco-absa](https://github.com/janco-absa) in [#​1526](https://github.com/actions/cache/pull/1526) - docs: Make the "always save prime numbers" example more clear by [@​Tobbe](https://github.com/Tobbe) in [#​1525](https://github.com/actions/cache/pull/1525) - Update force deletion docs due a recent deprecation by [@​sebbalex](https://github.com/sebbalex) in [#​1500](https://github.com/actions/cache/pull/1500) - Bump [@​actions/cache](https://github.com/actions/cache) to v4.0.1 by [@​robherley](https://github.com/robherley) in [#​1554](https://github.com/actions/cache/pull/1554) #### New Contributors - [@​janco-absa](https://github.com/janco-absa) made their first contribution in [#​1526](https://github.com/actions/cache/pull/1526) - [@​Tobbe](https://github.com/Tobbe) made their first contribution in [#​1525](https://github.com/actions/cache/pull/1525) - [@​sebbalex](https://github.com/sebbalex) made their first contribution in [#​1500](https://github.com/actions/cache/pull/1500) **Full Changelog**: <https://github.com/actions/cache/compare/v4.2.0...v4.2.1> </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My41LjQiLCJ1cGRhdGVkSW5WZXIiOiI0My41LjQiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImFjdGlvbiIsImRlcHMiXX0=--> Reviewed-on: #131 Reviewed-by: t.behrendt <2+t.behrendt@noreply.localhost> Co-authored-by: Renovate Bot <renovate@t00n.de> Co-committed-by: Renovate Bot <renovate@t00n.de>
75 lines
2.3 KiB
YAML
75 lines
2.3 KiB
YAML
name: CI
|
|
|
|
on:
|
|
pull_request:
|
|
|
|
env:
|
|
DOCKER_REGISTRY: gitea.t000-n.de
|
|
|
|
jobs:
|
|
test:
|
|
name: Test
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
|
|
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
|
|
with:
|
|
bun-version-file: ".bun-version"
|
|
|
|
- name: Cache dependencies
|
|
id: cache-deps
|
|
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
|
|
with:
|
|
path: |
|
|
node_modules
|
|
key: ${{ runner.os }}-bun-${{ hashFiles('bun.lockb') }}
|
|
|
|
- name: Install dependencies
|
|
if: steps.cache-deps.outputs.cache-hit != 'true'
|
|
run: bun install --frozen-lockfile
|
|
|
|
- name: Run lint
|
|
run: bun run check:code
|
|
|
|
- name: Run spellcheck
|
|
run: bun run check:spell
|
|
|
|
build-check:
|
|
name: Build check
|
|
runs-on:
|
|
- ubuntu-latest
|
|
- linux_amd64
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
|
|
- name: Set up Docker Buildx
|
|
uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4.1.0
|
|
|
|
- name: Login to Registry
|
|
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
|
|
with:
|
|
registry: ${{ env.DOCKER_REGISTRY }}
|
|
username: ${{ secrets.REGISTRY_USER }}
|
|
password: ${{ secrets.REGISTRY_PASSWORD }}
|
|
|
|
- name: Get Metadata
|
|
id: meta
|
|
run: |
|
|
echo REPO_NAME=$(echo ${GITHUB_REPOSITORY} | awk -F"/" '{print $2}' | tr '[:upper:]' '[:lower:]') >> $GITHUB_OUTPUT
|
|
echo REPO_VERSION=$(git describe --tags --always | sed 's/^v//') >> $GITHUB_OUTPUT
|
|
|
|
- name: Build image
|
|
uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # v7.1.0
|
|
with:
|
|
context: .
|
|
file: ./Dockerfile
|
|
platforms: linux/amd64
|
|
push: false
|
|
load: true
|
|
provenance: false
|
|
cache-from: type=registry,ref=${{ env.DOCKER_REGISTRY }}/t.behrendt/${{ steps.meta.outputs.REPO_NAME }}:cache
|
|
cache-to: type=registry,ref=${{ env.DOCKER_REGISTRY }}/t.behrendt/${{ steps.meta.outputs.REPO_NAME }}:cache,mode=max
|