mirror of
https://github.com/docker/setup-buildx-action.git
synced 2026-11-14 00:37:15 +08:00
40 lines
857 B
YAML
40 lines
857 B
YAML
name: test
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- 'master'
|
|
- 'releases/v*'
|
|
pull_request:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: 4cpu-gh-ubuntu24-x64
|
|
steps:
|
|
-
|
|
name: Checkout
|
|
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
|
with:
|
|
persist-credentials: false
|
|
-
|
|
name: Set up Docker Buildx
|
|
uses: ./
|
|
-
|
|
name: Test
|
|
uses: docker/bake-action@4a9a8d494466d37134e2bfca2d3a8de8fb2681ad # v5
|
|
with:
|
|
targets: test
|
|
-
|
|
name: Upload coverage
|
|
uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4
|
|
with:
|
|
file: ./coverage/clover.xml
|
|
token: ${{ secrets.CODECOV_TOKEN }}
|