Update third-party tests #42
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: Update third-party tests | |
on: | |
schedule: | |
- cron: "0 3 * * 2" # 2 = Tuesday | |
workflow_dispatch: | |
concurrency: | |
group: update-third-party-tests-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ssh-key: ${{ secrets.SSH_KEY }} | |
- name: Update third-party tests | |
run: | | |
scripts/update_third_party_tests.sh | |
# smoelius: Need a better way to order Go tags. The current approach of ordering them by | |
# "creatordate" doesn't work. | |
# scripts/update_go_third_party_tests.sh | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Install testing tools | |
uses: ./.github/actions/install-testing-tools | |
- name: Update stdout files | |
run: cargo test --test third_party_0 --test third_party_1 -- --nocapture | |
env: | |
BLESS: 1 | |
- name: Create pull request | |
uses: peter-evans/create-pull-request@v7 | |
with: | |
title: "Update third-party tests" | |
commit-message: "Update third-party tests" | |
token: ${{ secrets.REPO_TOKEN }} | |
branch-suffix: random |