mirror of
https://github.com/docker/setup-buildx-action.git
synced 2026-03-31 05:28:17 +01:00
39 lines
832 B
YAML
39 lines
832 B
YAML
name: test
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- 'master'
|
|
- 'releases/v*'
|
|
pull_request:
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
-
|
|
name: Checkout
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
-
|
|
name: Set up Docker Buildx
|
|
uses: ./
|
|
-
|
|
name: Test
|
|
uses: docker/bake-action@82490499d2e5613fcead7e128237ef0b0ea210f7 # v7.0.0
|
|
with:
|
|
source: .
|
|
targets: test
|
|
-
|
|
name: Upload coverage
|
|
uses: codecov/codecov-action@75cd11691c0faa626561e295848008c8a7dddffe # v5.5.4
|
|
with:
|
|
files: ./coverage/clover.xml
|
|
token: ${{ secrets.CODECOV_TOKEN }}
|