4fa411d293
Bumps the ci group with 14 updates in the / directory: | Package | From | To | | --- | --- | --- | | [actions/checkout](https://github.com/actions/checkout) | `6.0.3` | `7.0.0` | | [actions/setup-go](https://github.com/actions/setup-go) | `6.0.0` | `6.5.0` | | [fluxcd/gha-workflows/.github/workflows/backport.yaml](https://github.com/fluxcd/gha-workflows) | `0.11.0` | `0.12.0` | | [fluxcd/pkg/actions/kustomize](https://github.com/fluxcd/pkg) | `1.33.0` | `1.37.0` | | [fluxcd/pkg/actions/yq](https://github.com/fluxcd/pkg) | `1.33.0` | `1.37.0` | | [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) | `4.1.0` | `4.2.0` | | [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) | `4.1.0` | `4.2.0` | | [docker/login-action](https://github.com/docker/login-action) | `4.2.0` | `4.4.0` | | [github/codeql-action/upload-sarif](https://github.com/github/codeql-action) | `4.36.2` | `4.36.3` | | [fluxcd/pkg/actions/crdjsonschema](https://github.com/fluxcd/pkg) | `1.33.0` | `1.37.0` | | [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) | `7.2.2` | `7.2.3` | | [fluxcd/gha-workflows/.github/workflows/code-scan.yaml](https://github.com/fluxcd/gha-workflows) | `0.11.0` | `0.12.0` | | [fluxcd/gha-workflows/.github/workflows/labels-sync.yaml](https://github.com/fluxcd/gha-workflows) | `0.11.0` | `0.12.0` | | [fluxcd/gha-workflows/.github/workflows/upgrade-fluxcd-pkg.yaml](https://github.com/fluxcd/gha-workflows) | `0.11.0` | `0.12.0` | Updates `actions/checkout` from 6.0.3 to 7.0.0 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/df4cb1c069e1874edd31b4311f1884172cec0e10...9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0) Updates `actions/setup-go` from 6.0.0 to 6.5.0 - [Release notes](https://github.com/actions/setup-go/releases) - [Commits](https://github.com/actions/setup-go/compare/v6...924ae3a1cded613372ab5595356fb5720e22ba16) Updates `fluxcd/gha-workflows/.github/workflows/backport.yaml` from 0.11.0 to 0.12.0 - [Release notes](https://github.com/fluxcd/gha-workflows/releases) - [Commits](https://github.com/fluxcd/gha-workflows/compare/v0.11.0...v0.12.0) Updates `fluxcd/pkg/actions/kustomize` from 1.33.0 to 1.37.0 - [Commits](https://github.com/fluxcd/pkg/compare/5a7f3ce0de742b6c561a50f90940d81cf6fc698d...f739e0e4fe5a645ee9d5edc1ebfd2eedef19eaed) Updates `fluxcd/pkg/actions/yq` from 1.33.0 to 1.37.0 - [Commits](https://github.com/fluxcd/pkg/compare/5a7f3ce0de742b6c561a50f90940d81cf6fc698d...f739e0e4fe5a645ee9d5edc1ebfd2eedef19eaed) Updates `docker/setup-qemu-action` from 4.1.0 to 4.2.0 - [Release notes](https://github.com/docker/setup-qemu-action/releases) - [Commits](https://github.com/docker/setup-qemu-action/compare/06116385d9baf250c9f4dcb4858b16962ea869c3...96fe6ef7f33517b61c61be40b68a1882f3264fb8) Updates `docker/setup-buildx-action` from 4.1.0 to 4.2.0 - [Release notes](https://github.com/docker/setup-buildx-action/releases) - [Commits](https://github.com/docker/setup-buildx-action/compare/d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5...bb05f3f5519dd87d3ba754cc423b652a5edd6d2c) Updates `docker/login-action` from 4.2.0 to 4.4.0 - [Release notes](https://github.com/docker/login-action/releases) - [Commits](https://github.com/docker/login-action/compare/650006c6eb7dba73a995cc03b0b2d7f5ca915bee...af1e73f918a031802d376d3c8bbc3fe56130a9b0) Updates `github/codeql-action/upload-sarif` from 4.36.2 to 4.36.3 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/8aad20d150bbac5944a9f9d289da16a4b0d87c1e...54f647b7e1bb85c95cddabcd46b0c578ec92bc1a) Updates `fluxcd/pkg/actions/crdjsonschema` from 1.33.0 to 1.37.0 - [Commits](https://github.com/fluxcd/pkg/compare/5a7f3ce0de742b6c561a50f90940d81cf6fc698d...f739e0e4fe5a645ee9d5edc1ebfd2eedef19eaed) Updates `goreleaser/goreleaser-action` from 7.2.2 to 7.2.3 - [Release notes](https://github.com/goreleaser/goreleaser-action/releases) - [Commits](https://github.com/goreleaser/goreleaser-action/compare/5daf1e915a5f0af01ddbcd89a43b8061ff4f1a89...f06c13b6b1a9625abc9e6e439d9c05a8f2190e94) Updates `fluxcd/gha-workflows/.github/workflows/code-scan.yaml` from 0.11.0 to 0.12.0 - [Release notes](https://github.com/fluxcd/gha-workflows/releases) - [Commits](https://github.com/fluxcd/gha-workflows/compare/v0.11.0...v0.12.0) Updates `fluxcd/gha-workflows/.github/workflows/labels-sync.yaml` from 0.11.0 to 0.12.0 - [Release notes](https://github.com/fluxcd/gha-workflows/releases) - [Commits](https://github.com/fluxcd/gha-workflows/compare/v0.11.0...v0.12.0) Updates `fluxcd/gha-workflows/.github/workflows/upgrade-fluxcd-pkg.yaml` from 0.11.0 to 0.12.0 - [Release notes](https://github.com/fluxcd/gha-workflows/releases) - [Commits](https://github.com/fluxcd/gha-workflows/compare/v0.11.0...v0.12.0) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 7.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: ci - dependency-name: actions/setup-go dependency-version: 6.5.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: ci - dependency-name: fluxcd/gha-workflows/.github/workflows/backport.yaml dependency-version: 0.12.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: ci - dependency-name: fluxcd/pkg/actions/kustomize dependency-version: 1.37.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: ci - dependency-name: fluxcd/pkg/actions/yq dependency-version: 1.37.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: ci - dependency-name: docker/setup-qemu-action dependency-version: 4.2.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: ci - dependency-name: docker/setup-buildx-action dependency-version: 4.2.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: ci - dependency-name: docker/login-action dependency-version: 4.4.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: ci - dependency-name: github/codeql-action/upload-sarif dependency-version: 4.36.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: ci - dependency-name: fluxcd/pkg/actions/crdjsonschema dependency-version: 1.37.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: ci - dependency-name: goreleaser/goreleaser-action dependency-version: 7.2.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: ci - dependency-name: fluxcd/gha-workflows/.github/workflows/code-scan.yaml dependency-version: 0.12.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: ci - dependency-name: fluxcd/gha-workflows/.github/workflows/labels-sync.yaml dependency-version: 0.12.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: ci - dependency-name: fluxcd/gha-workflows/.github/workflows/upgrade-fluxcd-pkg.yaml dependency-version: 0.12.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: ci ... Signed-off-by: dependabot[bot] <support@github.com>
68 lines
1.9 KiB
YAML
68 lines
1.9 KiB
YAML
name: test-gh-action
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- 'action/**'
|
|
push:
|
|
paths:
|
|
- 'action/**'
|
|
branches:
|
|
- 'main'
|
|
- 'release/**'
|
|
|
|
permissions: read-all
|
|
|
|
jobs:
|
|
actions:
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
version: [ubuntu-latest, macos-latest, windows-latest]
|
|
|
|
runs-on: ${{ matrix.version }}
|
|
name: action on ${{ matrix.version }}
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
- name: Setup flux
|
|
uses: ./action
|
|
|
|
plugins:
|
|
runs-on: ubuntu-latest
|
|
name: action plugins on ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
- name: Setup Go
|
|
uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
|
|
with:
|
|
go-version-file: go.mod
|
|
cache-dependency-path: go.sum
|
|
- name: Build flux
|
|
shell: bash
|
|
run: |
|
|
set -euo pipefail
|
|
mkdir -p cmd/flux/manifests "$RUNNER_TEMP/flux-bin"
|
|
printf "apiVersion: v1\nkind: List\nitems: []\n" > cmd/flux/manifests/dummy.yaml
|
|
CGO_ENABLED=0 go build -ldflags="-s -w -X main.VERSION=0.0.0-pr" -o "$RUNNER_TEMP/flux-bin/flux" ./cmd/flux
|
|
- name: Setup flux with plugin
|
|
id: setup
|
|
uses: ./action
|
|
with:
|
|
version: 0.0.0-pr
|
|
bindir: ${{ runner.temp }}/flux-bin
|
|
plugins: |
|
|
mirror@sha256:91a1e04c2015ee66b1633e362cdb6d4550891b91bf3391a83414b9e9912e53f1
|
|
- name: Assert plugin installation
|
|
shell: bash
|
|
env:
|
|
ACTION_PLUGIN_DIR: ${{ steps.setup.outputs['plugin-dir'] }}
|
|
run: |
|
|
set -euo pipefail
|
|
test -n "${FLUXCD_PLUGINS:-}"
|
|
test "$ACTION_PLUGIN_DIR" = "$FLUXCD_PLUGINS"
|
|
test -x "$FLUXCD_PLUGINS/flux-mirror"
|
|
flux plugin list
|
|
flux mirror --help
|