Skip to content

Commit

Permalink
Add "Run tools" workflow to prevent tools breakage from version bumps
Browse files Browse the repository at this point in the history
go-licenses is already practiced by regular builds, but manifest-tool
can't build without directories created, and during regular execution
they're created when building binaries, while we're skipping it here.

Let's explicitly run go-licenses to get them created here, and this
could also provide a clearer signal on go-licenses itself.
  • Loading branch information
jingyuanliang committed Nov 4, 2023
1 parent 987ec77 commit 1411cf9
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/tools.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Run tools

on: [ push, pull_request ]

jobs:
tools:
strategy:
matrix:
go-version: [ "1.20", "1.21" ]
platform: [ "ubuntu-latest" ]
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Run go-licenses
run: make .licenses GO_VERSION=${{ matrix.go-version }}
- name: Build manifest-tool
run: make manifest-list BINS= GO_VERSION=${{ matrix.go-version }}

0 comments on commit 1411cf9

Please sign in to comment.