[nydus] Add empty layer in OCI image when merging platforms #881
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unit Test | |
on: | |
push: | |
branches: [ '*' ] | |
paths-ignore: [ '**.md', '**/misc/**', '**/script/**'] | |
pull_request: | |
branches: [ main ] | |
paths-ignore: [ '**.md', '**/misc/**', '**/script/**'] | |
jobs: | |
unit_test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Install Golang | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: go.mod | |
- name: Run Linter | |
run: | | |
make install-check-tools | |
make check | |
- name: Unit Test | |
run: | | |
go test -v -count=1 ./pkg/... |