Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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.
],
},
],
}
10 changes: 5 additions & 5 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 @@ -17,11 +17,11 @@ jobs:
with:
version: 0.8.16
use-cache: true
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
- uses: actions/checkout@v4
- 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
6 changes: 6 additions & 0 deletions Earthfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
VERSION 0.8
# renovate: datasource=docker packageName=golang
ARG go_version=1.24.5
# renovate: datasource=docker packageName=alpine
FROM golang:$go_version-alpine3.22
Comment thread
janishorsts marked this conversation as resolved.
Outdated
WORKDIR /intl

Expand All @@ -21,8 +23,11 @@ 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
RUN npm i -g npm@$npm_version
Comment thread
janishorsts marked this conversation as resolved.
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