Skip to content

Commit

Permalink
Merge pull request #404 from rsksmart/master
Browse files Browse the repository at this point in the history
master -> Stable-Test sync
  • Loading branch information
Luisfc68 authored Apr 30, 2024
2 parents 085aa78 + 3f66fac commit bbb7f7a
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 20 deletions.
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 2
updates:
- package-ecosystem: 'gomod'
directory : "/"
schedule:
interval: "daily"
target-branch: QA-Test
60 changes: 40 additions & 20 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,51 @@
name: liquidity provider server CI
name: Liquidity Provider Server CI

on:
push:
branches:
- stable-test
- features/devops
branches: [ QA-Test, Stable-Test, master ]
pull_request:
branches: [ QA-Test, Stable-Test, master ]

permissions:
contents: read
pull-requests: read
checks: write

jobs:
ci:
name: CI for liquidity server
unit-tests:
name: Unit tests execution
runs-on: ubuntu-latest
environment:
name: testnet

steps:
- name: checkout
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Checkout
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: 1.17
go-version-file: 'go.mod'

- name: Verify dependencies
run: go mod verify
- name: Check go version
run: go version

- name: Build
run: go build -v ./
- name: Install dependencies
run: go mod download

- name: Run unit test
run: make test

code-lint:
name: Source code format validation
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'

- name: golangci-lint
uses: golangci/golangci-lint-action@v4
with:
version: v1.55.2

0 comments on commit bbb7f7a

Please sign in to comment.