Merge pull request #180 from ava-labs/release-job #1
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
# Copyright (C) 2023, Ava Labs, Inc. All rights reserved. | |
# See the file LICENSE for licensing terms. | |
name: Tests | |
on: | |
push: | |
branches: | |
- "**" | |
jobs: | |
test_relayer: | |
name: Unit tests | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout awm-relayer repository | |
uses: actions/checkout@v4 | |
- name: Set Go version | |
run: | | |
source ./scripts/versions.sh | |
echo GO_VERSION=$GO_VERSION >> $GITHUB_ENV | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ env.GO_VERSION }} | |
- name: Run Relayer Unit Tests | |
run: ./scripts/test.sh |