mirror of
https://github.com/davestephens/ansible-nas
synced 2024-11-22 19:53:09 +00:00
👷 Update actions
This commit is contained in:
parent
6b743dc4db
commit
4d2604041b
5 changed files with 14 additions and 14 deletions
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
@ -18,10 +18,10 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out the codebase
|
- name: Check out the codebase
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set up Python 3
|
- name: Set up Python 3
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: "3.x"
|
python-version: "3.x"
|
||||||
|
|
||||||
|
@ -35,6 +35,6 @@ jobs:
|
||||||
run: yamllint .
|
run: yamllint .
|
||||||
|
|
||||||
- name: Lint docs
|
- name: Lint docs
|
||||||
uses: articulate/actions-markdownlint@v1
|
uses: articulate/actions-markdownlint@v1.1.0
|
||||||
with:
|
with:
|
||||||
version: 0.32.2
|
version: 0.32.2
|
||||||
|
|
8
.github/workflows/docs-deploy.yml
vendored
8
.github/workflows/docs-deploy.yml
vendored
|
@ -11,9 +11,9 @@ jobs:
|
||||||
name: Lint Docs
|
name: Lint Docs
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Lint docs
|
- name: Lint docs
|
||||||
uses: articulate/actions-markdownlint@v1
|
uses: articulate/actions-markdownlint@v1.1.0
|
||||||
with:
|
with:
|
||||||
version: 0.32.2
|
version: 0.32.2
|
||||||
|
|
||||||
|
@ -24,9 +24,9 @@ jobs:
|
||||||
run:
|
run:
|
||||||
working-directory: website
|
working-directory: website
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 18
|
||||||
cache: npm
|
cache: npm
|
||||||
|
|
8
.github/workflows/docs-test.yml
vendored
8
.github/workflows/docs-test.yml
vendored
|
@ -11,9 +11,9 @@ jobs:
|
||||||
name: Lint Docs
|
name: Lint Docs
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Lint docs
|
- name: Lint docs
|
||||||
uses: articulate/actions-markdownlint@v1
|
uses: articulate/actions-markdownlint@v1.1.0
|
||||||
with:
|
with:
|
||||||
version: 0.32.2
|
version: 0.32.2
|
||||||
|
|
||||||
|
@ -24,8 +24,8 @@ jobs:
|
||||||
run:
|
run:
|
||||||
working-directory: website
|
working-directory: website
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 18
|
||||||
cache: npm
|
cache: npm
|
||||||
|
|
4
.github/workflows/integration.yml
vendored
4
.github/workflows/integration.yml
vendored
|
@ -15,7 +15,7 @@ jobs:
|
||||||
outputs:
|
outputs:
|
||||||
matrix: ${{ steps.set-matrix.outputs.matrix }}
|
matrix: ${{ steps.set-matrix.outputs.matrix }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Generate Test Matrix
|
- name: Generate Test Matrix
|
||||||
id: set-matrix
|
id: set-matrix
|
||||||
shell: bash
|
shell: bash
|
||||||
|
@ -29,7 +29,7 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
role: ${{ fromJson(needs.generate-matrix.outputs.matrix) }}
|
role: ${{ fromJson(needs.generate-matrix.outputs.matrix) }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Molecule Test
|
- name: Molecule Test
|
||||||
uses: gofrolist/molecule-action@dfbfd1af6a77523c8a937a1532f92808065a00a4
|
uses: gofrolist/molecule-action@dfbfd1af6a77523c8a937a1532f92808065a00a4
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -8,4 +8,4 @@ for f in ./roles/*; do
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
echo "::set-output name=matrix::$(echo $test_matrix | jq -R -s -c 'sub("\n"; " ") | split(" ")[:-1]')"
|
echo "matrix=$(echo $test_matrix | jq -R -s -c 'sub("\n"; " ") | split(" ")[:-1]')" >> $GITHUB_OUTPUT
|
||||||
|
|
Loading…
Reference in a new issue