Skip to content

Commit

Permalink
Merge tag 'v9.2.2' of https://github.com/nyaruka/mailroom into update…
Browse files Browse the repository at this point in the history
…/9.2.2

 * Simplify config param name to configure FCM relayer syncing
 * Fix search endpoint docs
  • Loading branch information
rasoro committed Dec 16, 2024
2 parents 8b9f44f + 1e29ab8 commit 721da0f
Show file tree
Hide file tree
Showing 285 changed files with 9,230 additions and 8,875 deletions.
31 changes: 16 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: CI
on: [push, pull_request]
env:
go-version: "1.21.x"
go-version: "1.22.x"
jobs:
test:
name: Test
Expand All @@ -20,16 +20,17 @@ jobs:
- 5432:5432
options: --name textit-postgres-1 --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
elastic:
image: elasticsearch:7.17.9
ports:
- 9200:9200
- 9300:9300
env:
discovery.type: single-node

image: elasticsearch:8.13.4
ports:
- 9200:9200
env:
discovery.type: single-node
xpack.security.enabled: false
options: --health-cmd "curl http://localhost:9200/_cluster/health" --health-interval 10s --health-timeout 5s --health-retries 5

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Linux packages
run: |
Expand All @@ -45,7 +46,7 @@ jobs:
psql -h localhost -U postgres --no-password -c "CREATE DATABASE mailroom_test;"
- name: Install Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: ${{ env.go-version }}

Expand All @@ -56,7 +57,7 @@ jobs:
- name: Upload coverage
if: success()
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false
Expand All @@ -68,7 +69,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -80,20 +81,20 @@ jobs:
cp ./docs/en-us/*.* docs/
- name: Install Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: ${{ env.go-version }}

- name: Publish release
uses: goreleaser/goreleaser-action@v4
uses: goreleaser/goreleaser-action@v6
if: ${{ !contains(github.ref, '-') }}
with:
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Publish non-master release
uses: goreleaser/goreleaser-action@v4
uses: goreleaser/goreleaser-action@v6
if: contains(github.ref, '-')
with:
args: release --clean --skip-validate
Expand Down
19 changes: 10 additions & 9 deletions goreleaser.yml → .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
build:
main: ./cmd/mailroom/main.go
binary: mailroom
goos:
- darwin
- linux
goarch:
- amd64
- arm64
version: 2
builds:
- main: ./cmd/mailroom/main.go
binary: mailroom
goos:
- darwin
- linux
goarch:
- amd64
- arm64

changelog:
filters:
Expand Down
Loading

0 comments on commit 721da0f

Please sign in to comment.