Skip to content

Migration plugin docs to integration framework #85

Migration plugin docs to integration framework

Migration plugin docs to integration framework #85

Workflow file for this run

#
# This GitHub action runs Packer go tests across
# Linux runners.
#
name: "Go Test Linux"
on:
push:
branches:
- 'main'
pull_request:
permissions:
contents: read
jobs:
get-go-version:
runs-on: ubuntu-latest
outputs:
go-version: ${{ steps.get-go-version.outputs.go-version }}
steps:
- uses: actions/checkout@v2
- name: 'Determine Go version'
id: get-go-version
run: |
echo "Found Go $(cat .go-version)"
echo "go-version=$(cat .go-version)" >> $GITHUB_OUTPUT
linux-go-tests:
needs:
- get-go-version
runs-on: ubuntu-latest
name: Linux Go tests
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v3
with:
go-version: ${{ needs.get-go-version.outputs.go-version }}
- run: |
echo "Testing with Go ${{ needs.get-go-version.outputs.go-version }}"
go test -race -count 1 ./... -timeout=3m