mirror of
https://github.com/davestephens/ansible-nas
synced 2024-11-22 11:43:11 +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
|
||||
steps:
|
||||
- name: Check out the codebase
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Python 3
|
||||
uses: actions/setup-python@v2
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: "3.x"
|
||||
|
||||
|
@ -35,6 +35,6 @@ jobs:
|
|||
run: yamllint .
|
||||
|
||||
- name: Lint docs
|
||||
uses: articulate/actions-markdownlint@v1
|
||||
uses: articulate/actions-markdownlint@v1.1.0
|
||||
with:
|
||||
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
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- name: Lint docs
|
||||
uses: articulate/actions-markdownlint@v1
|
||||
uses: articulate/actions-markdownlint@v1.1.0
|
||||
with:
|
||||
version: 0.32.2
|
||||
|
||||
|
@ -24,9 +24,9 @@ jobs:
|
|||
run:
|
||||
working-directory: website
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: actions/setup-node@v3
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 18
|
||||
cache: npm
|
||||
|
|
8
.github/workflows/docs-test.yml
vendored
8
.github/workflows/docs-test.yml
vendored
|
@ -11,9 +11,9 @@ jobs:
|
|||
name: Lint Docs
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- name: Lint docs
|
||||
uses: articulate/actions-markdownlint@v1
|
||||
uses: articulate/actions-markdownlint@v1.1.0
|
||||
with:
|
||||
version: 0.32.2
|
||||
|
||||
|
@ -24,8 +24,8 @@ jobs:
|
|||
run:
|
||||
working-directory: website
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v3
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 18
|
||||
cache: npm
|
||||
|
|
4
.github/workflows/integration.yml
vendored
4
.github/workflows/integration.yml
vendored
|
@ -15,7 +15,7 @@ jobs:
|
|||
outputs:
|
||||
matrix: ${{ steps.set-matrix.outputs.matrix }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- name: Generate Test Matrix
|
||||
id: set-matrix
|
||||
shell: bash
|
||||
|
@ -29,7 +29,7 @@ jobs:
|
|||
matrix:
|
||||
role: ${{ fromJson(needs.generate-matrix.outputs.matrix) }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- name: Molecule Test
|
||||
uses: gofrolist/molecule-action@dfbfd1af6a77523c8a937a1532f92808065a00a4
|
||||
with:
|
||||
|
|
|
@ -8,4 +8,4 @@ for f in ./roles/*; do
|
|||
fi
|
||||
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