Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: v1.0.2 #226

Merged
merged 5 commits into from
Jan 29, 2025
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
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