Skip to content

playground: add dm support for playground #4568

playground: add dm support for playground

playground: add dm support for playground #4568

Workflow file for this run

# Check for reproducible build
name: reprotest
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
pull_request:
branches:
- master
- release-*
paths-ignore:
- '**.html'
- '**.md'
- 'CNAME'
- 'LICENSE'
- 'doc/**'
- 'embed/templates/examples/**'
push:
branches:
- release-*
paths-ignore:
- '**.html'
- '**.md'
- 'CNAME'
- 'LICENSE'
- 'doc/**'
- 'embed/templates/examples/**'
jobs:
reprotest:
# The type of runner that the job will run on
runs-on: ubuntu-20.04
strategy:
matrix:
go:
- 1.21.x
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- uses: actions/checkout@v3
- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
- name: Install reprotest and prepare
id: prepare_env
run: |
echo ::set-output name=GOROOT::$GOROOT
echo ::set-output name=GOPATH::$GOPATH
sudo apt-get update && sudo apt-get -qy install reprotest
- name: Check for reproducible build
run: |
sudo reprotest \
"make clean && \
GOROOT=${{ steps.prepare_env.GOROOT }} \
GOPATH=${{ steps.prepare_env.GOPATH }} \
PATH=$GOROOT/bin:$PATH \
BUILD_FLAGS='-trimpath -buildmode=pie -mod=readonly -modcacherw -buildvcs=false' \
make build" \
bin