Skip to content

Commit 6a0165d

Browse files
committed
Update workflows like on the book
Signed-off-by: Hugues de Valon <[email protected]>
1 parent dcdcd13 commit 6a0165d

File tree

4 files changed

+17
-9
lines changed

4 files changed

+17
-9
lines changed

.github/workflows/ci.yml

+12-3
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,24 @@ jobs:
77
name: Check formatting
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/checkout@v1
10+
- uses: actions/checkout@v2
1111
- name: Create a Go workspace and install vmdfmt
1212
run: |
1313
mkdir /tmp/go
1414
export GOPATH=/tmp/go
1515
go get github.com/bobertlo/vmd/cmd/vmdfmt
16-
- name: Install markdown-link-check tool
17-
run: npm install markdown-link-check
1816
- name: Check formatting
1917
run: |
2018
export PATH="$PATH:/tmp/go/bin:$(pwd)/node_modules/.bin"
2119
./ci/check_format.sh
20+
21+
links:
22+
name: Check links
23+
runs-on: ubuntu-latest
24+
steps:
25+
- uses: actions/checkout@v2
26+
- name: Link Checker
27+
id: lc
28+
uses: peter-evans/link-checker@v1
29+
- name: Fail if there were link errors
30+
run: exit ${{ steps.lc.outputs.exit_code }}

ci/check_format.sh

-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ do
1717
echo "Checking file \"$f\""
1818
vmdfmt -cols 100 $f > $OUT_DIR/$(basename $f)
1919
git diff --exit-code $f $OUT_DIR/$(basename $f)
20-
markdown-link-check -q $f
2120
done
2221

2322
rm -rf $OUT_DIR

minutes/2020-06-23.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
issue](https://github.com/ARM-software/psa-arch-tests/issues/220).
1717
- [The Parsec Secure Element Driver is ready.](https://github.com/parallaxsecond/parsec-se-driver)
1818
- [The Parsec Threat Model has been updated after
19-
review](https://parallaxsecond.github.io/parsec-book/threat_model/threat_model.html).
19+
review](https://parallaxsecond.github.io/parsec-book/parsec_security/parsec_threat_model/threat_model.html).
2020
- [The Parsec Rust client Threat Model has been
21-
created](https://parallaxsecond.github.io/parsec-book/threat_model/rust_client_threat_model.html).
21+
created](https://parallaxsecond.github.io/parsec-book/parsec_security/rust_client_threat_model/threat_model.html).
2222
- [Work has begun on implementing wiping of all sensitive data from memory after
2323
use.](https://github.com/parallaxsecond/parsec/issues/122)
2424

minutes/2020-07-07.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
- The [installation
1616
guide](https://parallaxsecond.github.io/parsec-book/parsec_service/install_parsec_linux.html) of
1717
Parsec as a systemd service has been updating with the recent changes on our [Threat
18-
Model](https://parallaxsecond.github.io/parsec-book/threat_model/threat_model.html) and
19-
[recommendations for secure
20-
deployment](https://parallaxsecond.github.io/parsec-book/threat_model/secure_deployment.html).
18+
Model](https://parallaxsecond.github.io/parsec-book/parsec_security/parsec_threat_model/threat_model.html)
19+
and [recommendations for secure
20+
deployment](https://parallaxsecond.github.io/parsec-book/parsec_security/secure_deployment.html).
2121
- The Unix Domain Socket Listener has been updated with a new socket location at
2222
`/tmp/parsec/parsec.sock`. That allows clients to check for specific permissions on the
2323
`/tmp/parsec` folder. Those checks are now implemented in the Rust Client.

0 commit comments

Comments
 (0)