Skip to content

RD-44530 Terraform 1.5 compatibility #63

RD-44530 Terraform 1.5 compatibility

RD-44530 Terraform 1.5 compatibility #63

Workflow file for this run

name: Build command diff
on:
push:
branches:
pull_request:
jobs:
changes:
runs-on: ubuntu-latest
outputs:
src: ${{ steps.changes.outputs.src }}
steps:
- uses: actions/checkout@v1
- uses: dorny/paths-filter@v2
id: changes
with:
filters: |
src:
- 'diff/**'
build:
needs: changes
if: ${{ needs.changes.outputs.src == 'true' && startsWith(github.ref, 'refs/tags/') != true }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: '>=1.17.0'
- name: Install dependencies
run: |
go version
go install golang.org/x/lint/golint@latest
- name: Run build
run: go build .
working-directory: diff
- name: Run test
run: go test -v ./...
working-directory: diff