Add packaging for standalone files #4679
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: Test Generated Go | |
on: | |
push: | |
pull_request: | |
merge_group: | |
schedule: | |
- cron: '0 0 1 * *' | |
jobs: | |
test-go: | |
runs-on: ubuntu-latest | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Set up Go 1.13 | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.13 | |
id: go | |
- name: make only-test-go-module | |
run: make only-test-go-module EXTERNAL_DEPENDENCIES=1 | |
- name: make only-test-go-files | |
run: make only-test-go-files EXTERNAL_DEPENDENCIES=1 | |
- name: Test for non-diff of gofmt | |
run: | |
DIFF="$(find fiat-go -name "*.go" | xargs gofmt -s -d)" | |
echo "${DIFF}" | |
test -z "${DIFF}" |