From c0323f85e048ac9b3b5111d9c28460a27012db4e Mon Sep 17 00:00:00 2001 From: sevki Date: Mon, 27 May 2024 13:48:22 +0100 Subject: [PATCH] switch to v4 --- .github/workflows/clippy.yml | 7 +++++++ .github/workflows/mdbook.yml | 8 ++++++++ 2 files changed, 15 insertions(+) diff --git a/.github/workflows/clippy.yml b/.github/workflows/clippy.yml index 2a45461..17a78a4 100644 --- a/.github/workflows/clippy.yml +++ b/.github/workflows/clippy.yml @@ -26,7 +26,14 @@ jobs: contents: read security-events: write actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status + + container: rust:latest + steps: + - name: Modify hosts file + run: | + echo "66.241.125.220 ok.software" >> /etc/hosts + - name: Checkout code uses: actions/checkout@v2 diff --git a/.github/workflows/mdbook.yml b/.github/workflows/mdbook.yml index 38e5f36..d62f509 100644 --- a/.github/workflows/mdbook.yml +++ b/.github/workflows/mdbook.yml @@ -30,7 +30,15 @@ jobs: runs-on: ubuntu-latest env: MDBOOK_VERSION: 0.4.36 + + container: rust:latest + steps: + - name: Modify hosts file + run: | + echo "66.241.125.220 ok.software" >> /etc/hosts + + - uses: actions/checkout@v4 - name: Install mdBook run: |