Update Go version to latest Stable release #3
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: Go | |
on: | |
push: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go 1.x | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.21 | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- name: Build | |
run: make build | |
- name: Store funnel | |
uses: actions/upload-artifact@v2 | |
with: | |
name: funnelBin | |
path: funnel | |
nextflow: | |
runs-on: ubuntu-latest | |
needs: build | |
steps: | |
- name: Download funnel | |
uses: actions/download-artifact@v2 | |
with: | |
name: funnelBin | |
path: funnel | |
- name: Setup tmate session | |
uses: mxschmitt/action-tmate@v3 | |
- name: Install Nextflow | |
run: | | |
git clone https://github.com/nextflow-io/nextflow -b tes-update-1.1 | |
cd nextflow | |
make compile | |
- name: Install Nextflow GA4GH-TES plugin | |
run: | | |
cat <<EOF >> nextflow.config | |
plugins { | |
id 'nf-ga4gh' | |
} | |
process.executor = 'tes' | |
tes.endpoint = 'http://localhost:8000' | |
EOF | |
- name: Start Funnel | |
run: | | |
chmod +x funnel | |
./funnel server run & | |
- name: Run Nextflow test (nf-canary) | |
run: | | |
git clone https://github.com/ohsu-comp-bio/nf-canary | |
cd nf-canary | |
nextflow run main.nf |