Skip to content

Update third-party tests #47

Update third-party tests

Update third-party tests #47

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