Skip to content

build(deps): bump taiki-e/install-action from 2.85.11 to 2.85.13 #3781

build(deps): bump taiki-e/install-action from 2.85.11 to 2.85.13

build(deps): bump taiki-e/install-action from 2.85.11 to 2.85.13 #3781

Workflow file for this run

name: test
on:
push:
branches: [main]
pull_request:
branches: [main]
env:
CARGO_TERM_COLOR: always
permissions:
contents: read
id-token: write
jobs:
test_rs:
name: Test (rust)
strategy:
fail-fast: false
matrix:
target:
- ak-agent
- ak-agent-desktop
- ak-api-cli-gen
- ak-browser-support
- ak-cli
- ak-nss
- ak-pam
- ak-platform
- ak-platform-facts
- ak-sysd
- ee/wcp
platform:
- macos-26
- ubuntu-24.04
- ubuntu-24.04-arm
- windows-2025
exclude:
- platform: windows-2025
target: ak-pam
- platform: windows-2025
target: ak-nss
- platform: macos-26
target: ak-pam
- platform: macos-26
target: ak-nss
# wcp is a windows-only credential provider
- platform: macos-26
target: ee/wcp
- platform: ubuntu-24.04
target: ee/wcp
- platform: ubuntu-24.04-arm
target: ee/wcp
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v5
- uses: actions-rust-lang/setup-rust-toolchain@166cdcfd11aee3cb47222f9ddb555ce30ddb9659 # v1
with:
rustflags: ""
- uses: taiki-e/install-action@82cd3e7658a6f96c86c0234aeeda1748937cb0a1 # v2
with:
tool: cargo-llvm-cov nextest
- uses: ./.github/actions/setup-toolchain
with:
platform: ${{ matrix.platform }}
- run: |
make ${{ matrix.target }}/test
env:
# ee/wcp is deliberately absent: it links CEF dynamically and
# _build-rs.yml ships it without crt-static, so tests must match.
RUST_BUILD_FLAGS: ${{ ((matrix.target == 'ak-platform-facts' || matrix.target == 'ak-sysd') && matrix.platform == 'windows-2025') && '-C target-feature=+crt-static' || '' }}
- uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v5
if: ${{ always() }}
with:
use_oidc: true
flags: rs-${{ matrix.platform }}-${{ matrix.target }}
files: ${{ github.workspace }}/cache/llvm-cov-target.json
- uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v5
if: ${{ always() }}
with:
use_oidc: true
flags: rs-${{ matrix.platform }}-${{ matrix.target }}
files: ${{ github.workspace }}/cache/llvm-cov-target.json
report_type: test_results
test_swift:
name: Test
strategy:
fail-fast: false
matrix:
target:
- ee/psso
runs-on: macos-15
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v5
- uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v4
with:
path: cache/
key: target-cache-psso-macos-15-${{ hashFiles('ee/psso/**') }}
restore-keys: |
target-cache-psso-macos-15-
- run: |
brew install xcresultparser
make ${{ matrix.target }}/test XCB_EXTRA_ARGS='CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO'
- uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v5
if: ${{ always() }}
with:
use_oidc: true
flags: swift
files: ${{ github.workspace }}/cache/psso/coverage.xml
- uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v5
if: ${{ always() }}
with:
use_oidc: true
flags: swift
files: ${{ github.workspace }}/cache/psso/junit.xml
report_type: test_results
lint_rs:
name: Lint (rust)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v5
- uses: actions-rust-lang/setup-rust-toolchain@166cdcfd11aee3cb47222f9ddb555ce30ddb9659 # v1
with:
rustflags: ""
- run: make ci-install-deps
- uses: ./.github/actions/setup-toolchain
with:
platform: ubuntu
- run: make lint-rs
lint_js:
name: Lint
strategy:
fail-fast: false
matrix:
target:
- browser-ext
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v5
- uses: pnpm/action-setup@v6.0.10
with:
run_install: false
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v6
with:
node-version-file: "${{ matrix.target }}/package.json"
cache: "pnpm"
cache-dependency-path: "pnpm-lock.yaml"
- run: make ${{ matrix.target }}/lint
build_rs_e2e:
uses: ./.github/workflows/_build-rs.yml
with:
rust_build_flags: "-C instrument-coverage -C codegen-units=1"
artifact_suffix: "-e2e"
platforms: '["ubuntu-24.04"]'
secrets: inherit
package_linux_e2e:
needs: build_rs_e2e
uses: ./.github/workflows/_package-linux.yml
with:
artifact_suffix: "-e2e"
platforms: '["ubuntu-24.04"]'
secrets: inherit
test_rs_e2e:
name: Test (e2e)
needs: [package_linux_e2e]
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v5
- uses: actions-rust-lang/setup-rust-toolchain@166cdcfd11aee3cb47222f9ddb555ce30ddb9659 # v1
with:
rustflags: ""
- uses: taiki-e/install-action@82cd3e7658a6f96c86c0234aeeda1748937cb0a1 # v2
with:
tool: cargo-llvm-cov nextest
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v6
with:
name: authentik_package-linux-ubuntu-24.04-e2e
path: bin/
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v6
with:
name: authentik_ubuntu-24.04_ak-agent-e2e
path: bin/
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v6
with:
name: authentik_ubuntu-24.04_ak-cli-e2e
path: bin/
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v6
with:
name: authentik_ubuntu-24.04_ak-nss-e2e
path: bin/
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v6
with:
name: authentik_ubuntu-24.04_ak-pam-e2e
path: bin/
- run: chmod +x bin/agent/ak-agent bin/cli/ak bin/sysd/ak-sysd
- uses: goauthentik/action-setup-authentik@3a1d4f81e5a29709c173f8b74250b1781e298bf9 # v3.1
id: setup
with:
version: beta
sentry_env: goauthentik-platform-ci
blueprints_path: ./hack/authentik/blueprints
wait: true
enterprise_license: true
enterprise_license_users_internal: 100
enterprise_license_users_external: 100
- env:
AK_TOKEN: ${{ steps.setup.outputs.admin_token }}
AK_URL: ${{ steps.setup.outputs.http_url }}
run: |
./hack/authentik/wait.sh
- run: make containers/e2e/ci-build
- env:
AK_PASSWORD: ${{ steps.setup.outputs.admin_password }}
AK_TOKEN: ${{ steps.setup.outputs.admin_token }}
AK_URL: ${{ steps.setup.outputs.http_url }}
run: |
make test-e2e-ci
- run: |
sudo chmod -R 777 ./ak-platform-e2e/coverage
make test-e2e-convert
- uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v5
if: ${{ always() }}
with:
use_oidc: true
flags: rs-e2e
files: ${{ github.workspace }}/cache/llvm-cov-target.json
- uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v5
if: ${{ always() }}
with:
use_oidc: true
flags: rs-e2e
files: ${{ github.workspace }}/cache/llvm-cov-target.json
report_type: test_results
- uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v5
if: ${{ always() }}
with:
use_oidc: true
flags: rs-e2e
files: ${{ github.workspace }}/cache/rs-e2e-coverage.lcov