Skip to content

Commit

Permalink
Merge pull request #128 from Ilhasoft/update/v8.2.0
Browse files Browse the repository at this point in the history
Update/v8.2.0
  • Loading branch information
rasoro authored Nov 28, 2024
2 parents 21894b4 + fe21208 commit ba614b7
Show file tree
Hide file tree
Showing 282 changed files with 10,303 additions and 9,617 deletions.
53 changes: 29 additions & 24 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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 }}
Loading

0 comments on commit ba614b7

Please sign in to comment.