Merge pull request #893 from multiversx/merge_master_into_rc17next1_2… #2759
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
name: Build and run tests | |
on: | |
push: | |
branches: [ master, rc/*, feat/* ] | |
pull_request: | |
branches: [ master, feat/*, rc/* ] | |
workflow_dispatch: | |
jobs: | |
test: | |
strategy: | |
matrix: | |
go-version: [1.20.7] | |
os: [ubuntu-latest, macos-13] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Test (Linux) | |
if: runner.os == 'Linux' | |
run: | | |
make test | |
- name: Test (MacOS ARM64) | |
if: runner.os == 'macOS' | |
run: | | |
make test-w2 | |