Skip to content

Commit

Permalink
use ref
Browse files Browse the repository at this point in the history
  • Loading branch information
Konboi committed Mar 19, 2024
1 parent 507e9de commit 47c9404
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,17 @@ env:
jobs:
tests:
runs-on: ubuntu-latest
defaults:
run:
working-directory: go
steps:
- uses: actions/checkout@v2
with:
ref: master
fetch-depth: 0
- uses: actions/checkout@v2
with:
repository: launchableinc/cli
ref: main
path: cli
fetch-depth: 0
- uses: actions/setup-python@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
Expand All @@ -48,9 +49,10 @@ jobs:
go install github.com/jstemmer/go-junit-report@latest
- run: "launchable verify"
- run: "ls -a .."
- run: "ls -a "
- run: "ls -a go"
- name: Record commits and build
run: 'launchable record build --name "$GITHUB_RUN_ID" --source .. --source=cli=../cli' # care for working-directory path
run: 'launchable record build --name "$GITHUB_RUN_ID" --source . --source=cli=./cli' # care for working-directory path
- run: "cd go"
- name: Subset
run: go test -list="Test|Example" ./... | launchable subset --confidence 80% go-test > launchable-subset.txt
- name: Test
Expand Down

0 comments on commit 47c9404

Please sign in to comment.