Skip to content
Merged
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
10 changes: 10 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,14 @@
":semanticCommits",
],
rebaseWhen: "behind-base-branch",
customManagers: [
{
customType: "regex",
description: "Update _version ARGs and ENVs in Earthfile",
managerFilePatterns: ["/^Earthfile$/"],
matchStrings: [
"# renovate: datasource=(?<datasource>[a-z-]+?)(?: depName=(?<depName>.+?))? packageName=(?<packageName>.+?)(?: versioning=(?<versioning>[a-z-]+?))?\\s+(?:ENV|ARG) .+?\\_version=(?<currentValue>.+?)\\s",
Comment thread
janishorsts marked this conversation as resolved.
],
},
],
}
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml → .github/workflows/check.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: Check

on:
push:
Expand All @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-24.04-arm
strategy:
matrix:
go-version: ["1.23", "1.24", "1.25rc2"]
go-version: ["1.23", "1.24", "1.25"]
fail-fast: false
env:
FORCE_COLOR: 1
Expand All @@ -21,7 +21,7 @@ jobs:
- name: Go ${{ matrix.go-version }}
run: echo "golang_version=${{ matrix.go-version }}" > .arg
- name: Generate cldr.go
if: ${{ matrix.go-version == '1.24' }}
if: ${{ matrix.go-version == '1.25' }}
run: |
earthly --strict +generate
if ! git diff --quiet internal/cldr/data.go; then
Expand All @@ -30,7 +30,7 @@ jobs:
exit 1
fi
- name: Lint
if: ${{ matrix.go-version == '1.24' }}
if: ${{ matrix.go-version == '1.25' }}
run: earthly --ci +lint
- name: Test Unit
run: earthly --ci +test
10 changes: 8 additions & 2 deletions Earthfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
VERSION 0.8
ARG go_version=1.24.5
FROM golang:$go_version-alpine3.22
# renovate: datasource=docker packageName=golang
ARG go_version=1.24.5-alpine3.22
FROM golang:$go_version
WORKDIR /intl

# init prepares the project for local development
Expand All @@ -21,8 +22,12 @@ cldr:

# testdata generates test cases and saves to tests.json
testdata:
# renovate: datasource=docker packageName=node
ARG node_version=23.11.0
FROM node:$node_version-alpine
# renovate: datasource=npm packageName=npm
ARG npm_version=9.6.1
RUN npm i -g npm@$npm_version
WORKDIR /intl
COPY testdata.js .
COPY --dir +cldr/cldr/common/main .cldr/common/main
Expand Down Expand Up @@ -64,6 +69,7 @@ test:

# lint runs all linters for golang
lint:
# renovate: datasource=docker packageName=golangci-lint
ARG golangci_lint_version=2.3.0
FROM golangci/golangci-lint:v$golangci_lint_version-alpine
WORKDIR /intl
Expand Down
Loading