Skip to content

Commit 084195e

Browse files
authored
Merge pull request #4 from evmos/sandoche/fse-478-github-actions
Sandoche/fse 478 GitHub actions
2 parents fb90111 + f5f840e commit 084195e

File tree

4 files changed

+26
-9
lines changed

4 files changed

+26
-9
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
push:
88
branches:
99
- main
10+
- production
1011
jobs:
1112
golangci:
1213
name: Run golangci-lint

.github/workflows/test.yaml

Lines changed: 22 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,28 @@
1-
name: docker-compose-actions-workflow
2-
on:
1+
name: Tests
2+
on:
3+
pull_request:
34
push:
4-
branches-ignore:
5+
branches:
56
- main
7+
- production
8+
69
jobs:
7-
test:
10+
test-unit:
811
runs-on: ubuntu-latest
912
steps:
10-
- uses: actions/checkout@v2
11-
- name: Build the stack
12-
run: docker-compose up -d
13+
- uses: actions/setup-go@v4
14+
with:
15+
go-version: '1.19'
16+
check-latest: true
17+
- uses: actions/checkout@v3
18+
- uses: technote-space/get-diff-action@v6.1.2
19+
with:
20+
PATTERNS: |
21+
**/**.sol
22+
**/**.go
23+
go.mod
24+
go.sum
1325
- name: Test
14-
run: docker run --network container:nginx appropriate/curl -s --retry 10 --retry-connrefused http://localhost:80/HealthCheck
26+
run: |
27+
make test
28+
if: env.GIT_DIFF

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ Ref: https://keepachangelog.com/en/1.0.0/
3636

3737
## Unreleased
3838

39+
- (ci) [fse-478] Updating github actions and versions
40+
3941
### Improvements
4042

4143
- (ci) [#107](https://github.com/evmos/backend/pull/107) Add golangci linter.

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/tharsis/dashboard-backend
22

3-
go 1.18
3+
go 1.19
44

55
require (
66
cosmossdk.io/math v1.0.0

0 commit comments

Comments
 (0)