Skip to content

Merge pull request #3684 from onflow/bastian/port-internal-284 #4318

Merge pull request #3684 from onflow/bastian/port-internal-284

Merge pull request #3684 from onflow/bastian/port-internal-284 #4318

Workflow file for this run

name: Downstream dependencies
on:
push:
branches:
- master
- 'feature/**'
- 'v**'
pull_request:
branches:
- master
- 'feature/**'
- 'v**'
env:
GO_VERSION: '1.22'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
cancel-in-progress: true
jobs:
flow-go:
name: flow-go
runs-on: ubuntu-latest
steps:
- name: Clone
uses: actions/checkout@v3
with:
repository: 'onflow/flow-go'
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
cache: true
- name: Update Cadence
run: go mod edit -replace github.com/onflow/cadence=github.com/${{ github.event.pull_request.head.repo.full_name || github.repository }}@${{ github.event.pull_request.head.sha || github.sha }}
- name: Tidy up
run: go mod tidy
- name: Build
run: go build -v ./...
flow-emulator:
name: Emulator
runs-on: ubuntu-latest
steps:
- name: Clone
uses: actions/checkout@v3
with:
repository: 'onflow/flow-emulator'
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
cache: true
- name: Update Cadence
run: go mod edit -replace github.com/onflow/cadence=github.com/${{ github.event.pull_request.head.repo.full_name || github.repository }}@${{ github.event.pull_request.head.sha || github.sha }}
- name: Tidy up
run: go mod tidy
- name: Build
run: go build -v ./...