Skip to content

Commit

Permalink
Merge pull request #15 from inoas/chore
Browse files Browse the repository at this point in the history
chore
  • Loading branch information
inoas authored Nov 3, 2024
2 parents 7d5e08c + c38436f commit 27f3c87
Show file tree
Hide file tree
Showing 73 changed files with 107 additions and 92 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/abstract_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ on:
gleam_version:
type: string
required: true
default: "1"
default: "1.4"
erlang_version:
type: string
default: "26"
test_erlang:
type: boolean
default: true
erlang_version:
type: string
default: "27"
test_node:
type: boolean
default: true
Expand Down Expand Up @@ -77,7 +77,8 @@ jobs:
strategy:
fail-fast: true
matrix:
erlang: ["27"]
erlang:
- ${{inputs.erlang_version}}
steps:
- uses: actions/checkout@v4
- uses: inoas/gleam_actions/.github/actions/install_gleam@main-on-upstream
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,17 @@ on:
workflow_call:

jobs:
test:
test_lowest:
uses: ./.github/workflows/abstract_test.yml
with:
erlang_version: "26"
gleam_version: "1.4.1"
test_erlang: true
test_node: false
test_highest:
uses: ./.github/workflows/abstract_test.yml
with:
erlang_version: "27"
gleam_version: "1.5.1"
test_erlang: true
test_node: false
8 changes: 4 additions & 4 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# erlang 26.2.5.1
erlang 27.0.1
gleam 1.4.1
# gleam nightly
# erlang 26.2.5.5
# gleam 1.4.0
erlang 27.1.2
gleam nightly
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,13 @@
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).

<!-- ## [Unreleased] -->
## [Unreleased]

- [BREAKING]: Renamed `select.offset` function's `offst` label to `offset`
- Updated test runner to target lowest and highest erlang and gleam versions supported:
- Lowest is at the moment Erlang/OTP 26 and Gleam 1.4
- Updated dependencies
- Fixed typos

## [2.0.1] - 2024-10-19

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.1.8
version: 1.2.3
title: combined_except_execution_result_test
file: ./test/cake_test/combined_test.gleam
test_name: combined_except_execution_result_test
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.1.8
version: 1.2.3
title: combined_except_prepared_statement_test
file: ./test/cake_test/combined_test.gleam
test_name: combined_except_prepared_statement_test
Expand Down
2 changes: 1 addition & 1 deletion birdie_snapshots/combined_except_test.accepted
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.1.8
version: 1.2.3
title: combined_except_test
file: ./test/cake_test/combined_test.gleam
test_name: combined_except_test
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.1.8
version: 1.2.3
title: combined_intersect_execution_result_test
file: ./test/cake_test/combined_test.gleam
test_name: combined_intersect_execution_result_test
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.1.8
version: 1.2.3
title: combined_intersect_prepared_statement_test
file: ./test/cake_test/combined_test.gleam
test_name: combined_intersect_prepared_statement_test
Expand Down
2 changes: 1 addition & 1 deletion birdie_snapshots/combined_intersect_test.accepted
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.1.8
version: 1.2.3
title: combined_intersect_test
file: ./test/cake_test/combined_test.gleam
test_name: combined_intersect_test
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.1.8
version: 1.2.3
title: combined_limit_offset_execution_result_test
file: ./test/cake_test/limit_offset_test.gleam
test_name: combined_limit_offset_execution_result_test
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.1.8
version: 1.2.3
title: combined_limit_offset_prepared_statement_test
file: ./test/cake_test/limit_offset_test.gleam
test_name: combined_limit_offset_prepared_statement_test
Expand Down
2 changes: 1 addition & 1 deletion birdie_snapshots/combined_limit_offset_test.accepted
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.1.8
version: 1.2.3
title: combined_limit_offset_test
file: ./test/cake_test/limit_offset_test.gleam
test_name: combined_limit_offset_test
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.1.8
version: 1.2.3
title: combined_union_all_execution_result_test
file: ./test/cake_test/combined_test.gleam
test_name: combined_union_all_execution_result_test
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.1.8
version: 1.2.3
title: combined_union_all_prepared_statement_test
file: ./test/cake_test/combined_test.gleam
test_name: combined_union_all_prepared_statement_test
Expand Down
2 changes: 1 addition & 1 deletion birdie_snapshots/combined_union_all_test.accepted
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.1.8
version: 1.2.3
title: combined_union_all_test
file: ./test/cake_test/combined_test.gleam
test_name: combined_union_all_test
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.1.8
version: 1.2.3
title: cross_join_lateral_execution_result_test
file: ./test/cake_test/join_lateral_test.gleam
test_name: cross_join_lateral_execution_result_test
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.1.8
version: 1.2.3
title: cross_join_lateral_prepared_statement_test
file: ./test/cake_test/join_lateral_test.gleam
test_name: cross_join_lateral_prepared_statement_test
Expand Down
2 changes: 1 addition & 1 deletion birdie_snapshots/cross_join_lateral_test.accepted
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.1.8
version: 1.2.3
title: cross_join_lateral_test
file: ./test/cake_test/join_lateral_test.gleam
test_name: cross_join_lateral_test
Expand Down
2 changes: 1 addition & 1 deletion birdie_snapshots/delete_execution_result_test.accepted
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.1.8
version: 1.2.3
title: delete_execution_result_test
file: ./test/cake_test/delete_test.gleam
test_name: delete_execution_result_test
Expand Down
2 changes: 1 addition & 1 deletion birdie_snapshots/delete_prepared_statement_test.accepted
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.1.8
version: 1.2.3
title: delete_prepared_statement_test
file: ./test/cake_test/delete_test.gleam
test_name: delete_prepared_statement_test
Expand Down
2 changes: 1 addition & 1 deletion birdie_snapshots/delete_test.accepted
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.1.8
version: 1.2.3
title: delete_test
file: ./test/cake_test/delete_test.gleam
test_name: delete_test
Expand Down
2 changes: 1 addition & 1 deletion birdie_snapshots/fragment_execution_result_test.accepted
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.1.8
version: 1.2.3
title: fragment_execution_result_test
file: ./test/cake_test/fragment_test.gleam
test_name: fragment_execution_result_test
Expand Down
2 changes: 1 addition & 1 deletion birdie_snapshots/fragment_prepared_statement_test.accepted
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.1.8
version: 1.2.3
title: fragment_prepared_statement_test
file: ./test/cake_test/fragment_test.gleam
test_name: fragment_prepared_statement_test
Expand Down
2 changes: 1 addition & 1 deletion birdie_snapshots/fragment_test.accepted
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.1.8
version: 1.2.3
title: fragment_test
file: ./test/cake_test/fragment_test.gleam
test_name: fragment_test
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.1.8
version: 1.2.3
title: inner_join_lateral_execution_result_test
file: ./test/cake_test/join_lateral_test.gleam
test_name: inner_join_lateral_execution_result_test
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.1.8
version: 1.2.3
title: inner_join_lateral_prepared_statement_test
file: ./test/cake_test/join_lateral_test.gleam
test_name: inner_join_lateral_prepared_statement_test
Expand Down
2 changes: 1 addition & 1 deletion birdie_snapshots/inner_join_lateral_test.accepted
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.1.8
version: 1.2.3
title: inner_join_lateral_test
file: ./test/cake_test/join_lateral_test.gleam
test_name: inner_join_lateral_test
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.1.8
version: 1.2.3
title: insert_on_conflict_update_values_execution_result_test
file: ./test/cake_test/insert_on_conflict_update_test.gleam
test_name: insert_on_conflict_update_values_execution_result_test
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.1.8
version: 1.2.3
title: insert_on_conflict_update_values_prepared_statement_test
file: ./test/cake_test/insert_on_conflict_update_test.gleam
test_name: insert_on_conflict_update_values_prepared_statement_test
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.1.8
version: 1.2.3
title: insert_on_conflict_update_values_test
file: ./test/cake_test/insert_on_conflict_update_test.gleam
test_name: insert_on_conflict_update_values_test
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.1.8
version: 1.2.3
title: insert_records_execution_result_test
file: ./test/cake_test/insert_records_test.gleam
test_name: insert_records_execution_result_test
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.1.8
version: 1.2.3
title: insert_records_prepared_statement_test
file: ./test/cake_test/insert_records_test.gleam
test_name: insert_records_prepared_statement_test
Expand Down
2 changes: 1 addition & 1 deletion birdie_snapshots/insert_records_test.accepted
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.1.8
version: 1.2.3
title: insert_records_test
file: ./test/cake_test/insert_records_test.gleam
test_name: insert_records_test
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.1.8
version: 1.2.3
title: insert_values_execution_result_test
file: ./test/cake_test/insert_values_test.gleam
test_name: insert_values_execution_result_test
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.1.8
version: 1.2.3
title: insert_values_prepared_statement_test
file: ./test/cake_test/insert_values_test.gleam
test_name: insert_values_prepared_statement_test
Expand Down
2 changes: 1 addition & 1 deletion birdie_snapshots/insert_values_test.accepted
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.1.8
version: 1.2.3
title: insert_values_test
file: ./test/cake_test/insert_values_test.gleam
test_name: insert_values_test
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.1.8
version: 1.2.3
title: left_join_lateral_execution_result_test
file: ./test/cake_test/join_lateral_test.gleam
test_name: left_join_lateral_execution_result_test
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.1.8
version: 1.2.3
title: left_join_lateral_prepared_statement_test
file: ./test/cake_test/join_lateral_test.gleam
test_name: left_join_lateral_prepared_statement_test
Expand Down
2 changes: 1 addition & 1 deletion birdie_snapshots/left_join_lateral_test.accepted
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.1.8
version: 1.2.3
title: left_join_lateral_test
file: ./test/cake_test/join_lateral_test.gleam
test_name: left_join_lateral_test
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.1.8
version: 1.2.3
title: select_distinct_execution_result_test
file: ./test/cake_test/select_test.gleam
test_name: select_distinct_execution_result_test
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.1.8
version: 1.2.3
title: select_distinct_prepared_statement_test
file: ./test/cake_test/select_test.gleam
test_name: select_distinct_prepared_statement_test
Expand Down
2 changes: 1 addition & 1 deletion birdie_snapshots/select_distinct_test.accepted
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.1.8
version: 1.2.3
title: select_distinct_test
file: ./test/cake_test/select_test.gleam
test_name: select_distinct_test
Expand Down
2 changes: 1 addition & 1 deletion birdie_snapshots/select_execution_result_test.accepted
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.1.8
version: 1.2.3
title: select_execution_result_test
file: ./test/cake_test/select_test.gleam
test_name: select_execution_result_test
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.1.8
version: 1.2.3
title: select_limit_offset_execution_result_test
file: ./test/cake_test/limit_offset_test.gleam
test_name: select_limit_offset_execution_result_test
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.1.8
version: 1.2.3
title: select_limit_offset_prepared_statement_test
file: ./test/cake_test/limit_offset_test.gleam
test_name: select_limit_offset_prepared_statement_test
Expand Down
2 changes: 1 addition & 1 deletion birdie_snapshots/select_limit_offset_test.accepted
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.1.8
version: 1.2.3
title: select_limit_offset_test
file: ./test/cake_test/limit_offset_test.gleam
test_name: select_limit_offset_test
Expand Down
2 changes: 1 addition & 1 deletion birdie_snapshots/select_prepared_statement_test.accepted
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.1.8
version: 1.2.3
title: select_prepared_statement_test
file: ./test/cake_test/select_test.gleam
test_name: select_prepared_statement_test
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.1.8
version: 1.2.3
title: select_query_execution_result_test
file: ./test/cake_test/select_query_test.gleam
test_name: select_query_execution_result_test
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.1.8
version: 1.2.3
title: select_query_prepared_statement_test
file: ./test/cake_test/select_query_test.gleam
test_name: select_query_prepared_statement_test
Expand Down
2 changes: 1 addition & 1 deletion birdie_snapshots/select_query_test.accepted
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.1.8
version: 1.2.3
title: select_query_test
file: ./test/cake_test/select_query_test.gleam
test_name: select_query_test
Expand Down
Loading

0 comments on commit 27f3c87

Please sign in to comment.