Skip to content

Bump golang.org/x/crypto from 0.30.0 to 0.31.0 #344

Bump golang.org/x/crypto from 0.30.0 to 0.31.0

Bump golang.org/x/crypto from 0.30.0 to 0.31.0 #344

Workflow file for this run

name: Go
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
check-latest: true
- name: Build
run: go build -v ./...
- name: postgresdb setup
run: |
sudo systemctl start postgresql.service
sudo -u postgres psql --command="CREATE USER locket PASSWORD 'locket_pw'"
sudo -u postgres psql --command="ALTER USER locket CREATEDB"
sudo -u postgres createdb --owner=locket locket
- name: Test
run: |
go install github.com/onsi/ginkgo/v2/ginkgo@v2
pushd ..
git clone https://github.com/cloudfoundry/diego-release.git
popd
pushd ../diego-release
git submodule update --init --recursive
popd
pushd ../diego-release/src/code.cloudfoundry.org
go build -buildvcs=false -o /home/runner/go/bin/locket ./locket/cmd/locket
popd
ginkgo version
ginkgo -r --keep-going -p -trace --randomize-all --race .