Skip to content

update to go 1.21 to fix CVE-2023-44487 #131

update to go 1.21 to fix CVE-2023-44487

update to go 1.21 to fix CVE-2023-44487 #131

Workflow file for this run

name: Continous Integration Tests
on: [push, pull_request]
jobs:
tailor:
name: Run tests
runs-on: ubuntu-20.04
steps:
-
name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
-
name: Setup Go
uses: actions/setup-go@v4
with:
go-version: 1.21
-
name: Download Go tools
run: |
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.56.2
go install golang.org/x/tools/cmd/goimports@latest
echo "PATH=$PATH:$(go env GOPATH)/bin" >> $GITHUB_ENV
-
name: Run lint
run: |
make lint
-
name: Setup OpenShift
uses: manusa/actions-setup-openshift@v1.1.4
timeout-minutes: 15
with:
oc version: 'v3.11.0'
enable: 'centos-imagestreams,persistent-volumes,registry,router'
github token: ${{ secrets.GITHUB_TOKEN }}
-
name: Run tests
run: |
sudo chown -R runner:docker openshift.local.clusterup/
make test