Adapt the publish container images workflow to the modified bsc-docke… #196
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and lint the source code | |
on: | |
push: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: bridges/stellar-evm | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: "1.20" | |
id: go | |
- name: Check out code into the Go module directory | |
uses: actions/[email protected] | |
- name: Build | |
run: | | |
export PATH=/home/runner/go/bin:$PATH | |
export GIT_COMMIT=$(git rev-list -1 HEAD) | |
go build -ldflags "-X main.GitCommit=$GIT_COMMIT" . | |
env: | |
GO111MODULE: on |