Skip to content

Merge pull request #243 from InjectiveLabs/fix/sync_dev_after_v1_52_0 #145

Merge pull request #243 from InjectiveLabs/fix/sync_dev_after_v1_52_0

Merge pull request #243 from InjectiveLabs/fix/sync_dev_after_v1_52_0 #145

Workflow file for this run

name: run-tests
on:
pull_request:
push:
branches: [ master, dev ]
jobs:
run-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
with:
fetch-depth: 2
- uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
check-latest: true
- name: Install pass helper
run: sudo apt-get update && sudo apt-get install -y pass
- name: Generate GPG key
run: "
echo \"%no-protection\nKey-Type: 1\nKey-Length: 4096\nSubkey-Type: 1\nSubkey-Length: 4096\nName-Comment: keyring_test\nExpire-Date: 0\" > genkey && gpg --gen-key --batch genkey"
- name: Setup OS keystore
run: pass init keyring_test
- name: Run test and calculate coverage
run: make coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4