Skip to content

Commit

Permalink
chore: v1.0.2 (#226)
Browse files Browse the repository at this point in the history
* unclog release

* unclog build

* fix CI job

* update description

* Revert "update description"

This reverts commit d236d6f.
  • Loading branch information
melekes authored Jan 29, 2025
1 parent 253219f commit 9a507b6
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 56 deletions.
3 changes: 3 additions & 0 deletions .changelog/v1.0.2/summary.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*January 29, 2025*

This release bumps the Go version to 1.23.5.
47 changes: 0 additions & 47 deletions .github/workflows/ci-fast.yml

This file was deleted.

50 changes: 41 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,57 @@
# To run locally:
# make docker-test

name: Test
name: Test fast (no changes to Dockerfile)

on:
pull_request:
paths:
- tools/Dockerfile
merge_group:
push:
branches:
- main
paths:
- tools/Dockerfile

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}

jobs:
Test:
check-container:
runs-on: ubuntu-latest
outputs:
exists: ${{ steps.check.outputs.exists }}
steps:
- name: Check if Docker image exists
id: check
run: |
if docker manifest inspect cometbft/cometbft-db-testing:v1.0.2 &>/dev/null; then
echo "exists=true" >> $GITHUB_OUTPUT
else
echo "exists=false" >> $GITHUB_OUTPUT
fi
test-fast:
needs: check-container
if: needs.check-container.outputs.exists == 'true'
runs-on: ubuntu-latest
container: cometbft/cometbft-db-testing:v1.0.2
steps:
- uses: actions/checkout@v4

- name: Configure Git Safe Directory
run: git config --global --add safe.directory /__w/cometbft-db/cometbft-db

- uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}

- name: test & coverage report creation
run: |
NON_INTERACTIVE=1 make test-all-with-coverage
- uses: codecov/codecov-action@v4
with:
file: ./coverage.txt

test-slow:
needs: check-container
if: needs.check-container.outputs.exists == 'false'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# CHANGELOG

## v1.0.2

*January 29, 2025*

This release bumps the Go version to 1.23.5.

## v1.0.1

*September 23, 2024*
Expand Down
3 changes: 3 additions & 0 deletions tools/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
# updates here, merge the changes here first and let the image get updated (or
# push a new version manually) before PRs that depend on them.

# PLEASE BUMP THE VERSION OF THE IMAGE IN `.github/workflows/ci.yml` WHEN YOU
# MODIFY THIS FILE.

FROM golang:1.23.5 AS build

ENV LD_LIBRARY_PATH=/usr/local/lib
Expand Down

0 comments on commit 9a507b6

Please sign in to comment.