table-generator #179
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: table-generator | |
on: | |
schedule: | |
- cron: '0 9 * * 1-5' | |
jobs: | |
generate: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.18 | |
- name: Run conformance table generator for current versions of phase 2 | |
run: | | |
cd conformance_table_generator/ | |
go run main.go -t phase2 -v current | |
- name: Run conformance table generator for legacy versions of phase 2 | |
run: | | |
cd conformance_table_generator/ | |
go run main.go -t phase2 -v legacy | |
- name: Run export data for current versions of phase 2 | |
run: | | |
cd export_data/ | |
go run main.go -t phase2 -v current | |
- name: Get current date | |
id: date | |
run: echo "::set-output name=date::$(date +'%d-%m-%Y')" | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v4 | |
with: | |
commit-message: conformance table routine - ${{ steps.date.outputs.date }} | |
title: conformance table routine - ${{ steps.date.outputs.date }} | |
branch: table-routine | |
delete-branch: true | |
reviewers: christianraidiam, PMartins03 |