Support evidence service (#1188) #6339
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: JFrog CLI Core Tests | |
on: | |
push: | |
branches: | |
- '**' | |
tags-ignore: | |
- '**' | |
pull_request: | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }}-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ ubuntu, windows, macos ] | |
env: | |
GOPROXY: direct | |
GRADLE_OPTS: -Dorg.gradle.daemon=false | |
JFROG_CLI_LOG_LEVEL: "DEBUG" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Python3 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.x" | |
- name: Install pipenv & poetry | |
run: python -m pip install pipenv poetry | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.20.x | |
cache: false | |
- name: Install NuGet | |
uses: nuget/setup-nuget@v2 | |
with: | |
nuget-version: 6.x | |
- name: Install dotnet | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: '6.x' | |
- name: Go Cache | |
uses: actions/cache@v4 | |
with: | |
path: ~/go/pkg/mod | |
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | |
restore-keys: | | |
${{ runner.os }}-go- | |
- name: Tests | |
run: go test -v github.com/jfrog/jfrog-cli-core/v2/tests -timeout 0 -race |