12 Commits

Author SHA1 Message Date
argoyle 1150e8683c ci: update to Go 1.22.2 2024-04-09 20:40:12 +02:00
argoyle b1c3f75bbd ci: remove Dependabot config 2024-02-24 01:14:15 +01:00
Renovate 86092b5a9c chore(deps): update node.js to v20 2024-02-23 17:21:31 +00:00
Renovate e5a9e47ce8 Add renovate.json 2024-02-23 16:52:19 +00:00
argoyle 7e5081c587 chore(deps): bump golang from 1.21 to 1.22
Bumps golang from 1.21 to 1.22.
2024-02-08 00:50:26 +00:00
argoyle 777ff37756 chore(deps): bump golang from 1.20 to 1.21 2023-08-09 08:54:25 +00:00
argoyle 9c9c134476 ci: make releases handle multi-line release notes 2023-06-08 16:11:20 +02:00
argoyle c00faf47a8 ci: add dependabot config 2023-06-08 13:33:46 +02:00
argoyle df459aea63 Merge branch 'golangci-lint' into 'main'
ci: update golangci-lint

See merge request unboundsoftware/pre-commit!1
2023-06-04 14:51:09 +00:00
argoyle 06ecd8c0d6 ci: update golangci-lint 2023-06-04 16:49:03 +02:00
argoyle 855fdc2810 chore: update to latest Go version and golangci-lint 2023-05-18 20:08:19 +02:00
argoyle 940d8cb919 ci: use Docker DinD version from variable 2023-02-09 21:55:55 +01:00
3 changed files with 18 additions and 10 deletions
+6 -6
View File
@@ -14,22 +14,22 @@ image: buildtool/build-tools:${BUILDTOOLS_VERSION}
build: build:
stage: build stage: build
services: services:
- docker:dind - docker:${DOCKER_DIND_VERSION}
script: script:
- unset BUILDTOOLS_CONTENT - unset BUILDTOOLS_CONTENT
- build - build
- push - push
prepare_release: prepare_release:
image: node:18 image: node:20
stage: prepare stage: prepare
before_script: before_script:
- npm install -g conventional-changelog-cli - npm install -g conventional-changelog-cli
script: script:
- echo "DESCRIPTION=$(conventional-changelog -p conventionalcommits)" > variables.env - conventional-changelog -p conventionalcommits > ./release.description
artifacts: artifacts:
reports: paths:
dotenv: variables.env - release.description
rules: rules:
- if: $CI_COMMIT_TAG - if: $CI_COMMIT_TAG
@@ -43,6 +43,6 @@ release:
- echo "Running release_job for $TAG" - echo "Running release_job for $TAG"
release: release:
tag_name: '$CI_COMMIT_TAG' tag_name: '$CI_COMMIT_TAG'
description: '$DESCRIPTION' description: ./release.description
rules: rules:
- if: $CI_COMMIT_TAG - if: $CI_COMMIT_TAG
+6 -4
View File
@@ -1,9 +1,11 @@
FROM golang:1.19 FROM golang:1.22.2
ENV PATH=${PATH}:/root/.local/bin
RUN apt update && \ RUN apt update && \
apt install -y python3 python3-pip ruby git && \ apt install -y python3 python3-pip ruby git pipx && \
rm -rf /var/lib/apt/lists/* && \ rm -rf /var/lib/apt/lists/* && \
go install github.com/lietu/go-pre-commit@latest && \ go install github.com/lietu/go-pre-commit@latest && \
go install golang.org/x/tools/cmd/goimports@latest && \ go install golang.org/x/tools/cmd/goimports@latest && \
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.50.1 && \ curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.53.2 && \
pip install pre-commit pipx install pre-commit
+6
View File
@@ -0,0 +1,6 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
]
}