diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 1254ae4..37e55f9 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -29,18 +29,23 @@ jobs: with: repository: launchableinc/cli ref: main - path: cli + path: taf-utilities fetch-depth: 0 - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 with: repository: golang/go ref: go1.18.10 - path: golang - - uses: actions/setup-python@v2 - - name: Set up JDK 1.8 - uses: actions/setup-java@v1 + path: digital-workshop + - uses: actions/setup-python@v3 with: - java-version: 1.8 + python-version: '3.10' + - name: Set up JDK 1.8 + run: | + sudo apt-get update && sudo apt-get install -y curl + sudo apt-get update && sudo apt-get install -y wget + sudo apt install -y default-jre + sudo apt install -y default-jdk + java --version - name: Install dependencies run: | python -m pip install --upgrade pip @@ -53,12 +58,12 @@ jobs: - name: Install dependencies run: | go install github.com/jstemmer/go-junit-report@latest - - run: "launchable verify" - - run: "ls -a ." - - run: "ls -a .." - - name: Record commits and build - run: | # care for working-directory path - launchable record build --source src=./servicehub --source cli=./cli --source go=./golang --name $GITHUB_RUN_ID + - name: Session + run: | + launchable verify + pwd + ls -la . + launchable record build --source src=./servicehub --name $GITHUB_RUN_ID - name: Test run: | cd servicehub/go