forked from rapidpro/mailroom
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #128 from Ilhasoft/update/v8.2.0
Update/v8.2.0
- Loading branch information
Showing
282 changed files
with
10,303 additions
and
9,617 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,27 +5,32 @@ env: | |
jobs: | ||
test: | ||
name: Test | ||
env: | ||
pg-version: "14" | ||
postgis-version: "3.2" | ||
redis-version: "6.2" | ||
runs-on: ubuntu-latest | ||
|
||
services: | ||
redis: | ||
image: redis:6.2-alpine | ||
ports: | ||
- 6379:6379 | ||
postgres: | ||
image: postgis/postgis:14-3.3-alpine | ||
env: | ||
POSTGRES_PASSWORD: temba | ||
ports: | ||
- 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 | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install Redis | ||
uses: zhulik/[email protected] | ||
with: | ||
redis version: ${{ env.redis-version }} | ||
|
||
- name: Install PostgreSQL | ||
uses: nyaruka/postgis-action@v2 | ||
with: | ||
postgresql version: ${{ env.pg-version }} | ||
postgis version: ${{ env.postgis-version }} | ||
postgresql password: temba | ||
|
||
- name: Install Linux packages | ||
run: | | ||
sudo apt-get update | ||
|
@@ -51,10 +56,10 @@ jobs: | |
- name: Upload coverage | ||
if: success() | ||
uses: codecov/codecov-action@v2 | ||
uses: codecov/codecov-action@v3 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
fail_ci_if_error: true | ||
fail_ci_if_error: false | ||
|
||
release: | ||
name: Release | ||
|
@@ -64,6 +69,8 @@ jobs: | |
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Fetch GoFlow docs | ||
# for backward compatibility, English docs are copied to root of docs directory | ||
|
@@ -78,19 +85,17 @@ jobs: | |
go-version: ${{ env.go-version }} | ||
|
||
- name: Publish release | ||
uses: goreleaser/goreleaser-action@v1 | ||
uses: goreleaser/goreleaser-action@v4 | ||
if: ${{ !contains(github.ref, '-') }} | ||
with: | ||
version: v0.147.2 | ||
args: release --rm-dist | ||
args: release --clean | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Publish non-master release | ||
uses: goreleaser/goreleaser-action@v1 | ||
uses: goreleaser/goreleaser-action@v4 | ||
if: contains(github.ref, '-') | ||
with: | ||
version: v0.147.2 | ||
args: release --rm-dist --skip-validate | ||
args: release --clean --skip-validate | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
Oops, something went wrong.