Skip to content

Update third-party tests #31

Update third-party tests

Update third-party tests #31

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
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@v6
with:
title: "Update third-party tests"
commit-message: "Update third-party tests"
token: ${{ secrets.REPO_TOKEN }}
branch-suffix: random