chore(deps): update taiki-e/install-action action to v2.47.12 #1257
This file contains 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: Functional | |
permissions: | |
contents: read | |
on: | |
pull_request: | |
branches: [ "main" ] | |
paths: | |
- 'Cargo.toml' | |
- 'Cargo.lock' | |
- '.github/workflows/functional.yml' | |
- 'openstack_cli/**' | |
- 'openstack_sdk/**' | |
- 'structable_derive/**' | |
jobs: | |
functional: | |
strategy: | |
fail-fast: false | |
matrix: | |
name: ["master"] | |
openstack_version: ["master"] | |
ubuntu_version: ["22.04"] | |
# include: | |
# - name: "bobcat" | |
# openstack_version: "stable/2023.2" | |
# ubuntu_version: "22.04" | |
runs-on: ubuntu-${{ matrix.ubuntu_version }} | |
name: Functional tests on OpenStack ${{ matrix.name }} | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2 | |
with: | |
egress-policy: audit | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Cache | |
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 | |
with: | |
path: | | |
~/.cargo/bin/ | |
~/.cargo/registry/index/ | |
~/.cargo/registry/cache/ | |
~/.cargo/git/db/ | |
~/.cache/pip | |
target/ | |
key: ${{ runner.os }}-devstack-${{ hashFiles('**/Cargo.lock') }} | |
restore-keys: | | |
${{ runner.os }}-devstack- | |
${{ runner.os }}- | |
- name: Deploy devstack | |
uses: EmilienM/devstack-action@e82a9cbead099cba72f99537e82a360c3e319c69 # v0.15 | |
with: | |
branch: ${{ matrix.openstack_version }} | |
enabled_services: swift | |
log_dir: /tmp/devstack-logs | |
- name: Install Rust | |
uses: dtolnay/rust-toolchain@a54c7afa936fefeb4456b2dd8068152669aa8203 # stable | |
with: | |
toolchain: stable | |
- name: Install cargo-nextest | |
uses: taiki-e/install-action@c87777c3160ce0cfd8fc286df47224d2449cb76b # v2.47.11 | |
with: | |
tool: cargo-nextest | |
- name: Execute functional tests | |
env: | |
OS_CLOUD: devstack | |
run: cargo nextest run --test functional |