Skip to content

chore: Update from ubi8/go-toolset:1.20.10-10 to ubi8/go-toolset:1.22.7-5 #391

chore: Update from ubi8/go-toolset:1.20.10-10 to ubi8/go-toolset:1.22.7-5

chore: Update from ubi8/go-toolset:1.20.10-10 to ubi8/go-toolset:1.22.7-5 #391

#
# Copyright (c) 2019-2021 Red Hat, Inc.
# This program and the accompanying materials are made
# available under the terms of the Eclipse Public License 2.0
# which is available at https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
# Red Hat, Inc. - initial API and implementation
#
name: Unit Tests
on: pull_request
jobs:
unit-tests:
runs-on: ubuntu-22.04
steps:
- name: Checkout che-machine-exec source code
uses: actions/checkout@v3
- name: Build che-machine-exec binary
run: CGO_ENABLED=0 GOOS=linux go build -mod=vendor -a -ldflags '-w -s' -a -installsuffix cgo -o che-machine-exec .
- name: Run unit tests
run: |
export CHE_WORKSPACE_ID=test_id
go test ./... -test.v