-
Notifications
You must be signed in to change notification settings - Fork 10
43 lines (36 loc) · 1.18 KB
/
update_third_party_tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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