Bump golang.org/x/sync from 0.10.0 to 0.17.0 in /lib #962
This file contains hidden or 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: Unit tests (Makefile) | |
on: | |
push: | |
tags: | |
- v* | |
pull_request: | |
jobs: | |
unit: | |
strategy: | |
fail-fast: false | |
matrix: | |
project: | |
- name: lib | |
path: ./lib/ | |
- name: flakeguard | |
path: ./tools/flakeguard/ | |
runs-on: ubuntu-latest | |
name: ${{ matrix.project.name }} unit tests | |
steps: | |
- name: Checkout the Repo | |
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: ${{ matrix.project.path }}/go.mod | |
- name: Install gotestloghelper | |
run: go install github.com/smartcontractkit/chainlink-testing-framework/tools/gotestloghelper@latest | |
- name: Run Tests | |
run: | | |
PATH=$PATH:$(go env GOPATH)/bin | |
export PATH | |
set -euo pipefail | |
# disabled, because we want to use a multiline output of go list command | |
# shellcheck disable=SC2046 | |
cd ${{ matrix.project.path }} && \ | |
make test_unit | |
- name: Publish Artifacts | |
if: failure() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: test-logs | |
path: /tmp/gotest.log |