From 5e6971cc7aa8cb6405e3c46ac59a1ba4af793621 Mon Sep 17 00:00:00 2001 From: Michael McLoughlin Date: Sun, 8 May 2022 16:10:23 -0700 Subject: [PATCH] script: metadata update (#283) --- .github/workflows/metadata.yml | 3 +-- script/metadata | 4 ++++ 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100755 script/metadata diff --git a/.github/workflows/metadata.yml b/.github/workflows/metadata.yml index 0b5f318..21d6d3b 100644 --- a/.github/workflows/metadata.yml +++ b/.github/workflows/metadata.yml @@ -19,8 +19,7 @@ jobs: - name: Bootstrap run: ./script/bootstrap - name: Update Package Metadata - working-directory: tests/thirdparty - run: go test -v -run Metadata -update -net -prjs projects.json + run: ./script/metadata - name: Diff run: git diff - name: Generate diff --git a/script/metadata b/script/metadata new file mode 100755 index 0000000..3caae74 --- /dev/null +++ b/script/metadata @@ -0,0 +1,4 @@ +#!/bin/bash -ex + +# Run metadata test in update mode. +go test ./tests/thirdparty/ -v -run Metadata -args -update -prjs projects.json -net