From 9636a0027a6a3ec6f2fa0369cfe09a83a4839f88 Mon Sep 17 00:00:00 2001 From: Max Duval Date: Wed, 13 Mar 2024 09:50:36 +0000 Subject: [PATCH 1/2] chore(actions): bump versions --- .github/workflows/deploy.yml | 14 +++++++------- .github/workflows/integrate.yml | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 7c3d7b3..c921a17 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -24,14 +24,14 @@ jobs: steps: - name: Clone repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - uses: denoland/setup-deno@v1 with: deno-version: v1.44 - name: Cache Deno dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ env.DENO_DIR }} key: ${{ hashFiles('deno.lock') }} @@ -56,14 +56,14 @@ jobs: steps: - name: Clone repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - uses: denoland/setup-deno@v1 with: deno-version: v1.44 - name: Cache Deno dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ env.DENO_DIR }} key: ${{ hashFiles('deno.lock') }} @@ -72,13 +72,13 @@ jobs: run: deno task build --base=mononykus - name: Setup Pages - uses: actions/configure-pages@v3 + uses: actions/configure-pages@v4 - name: Upload artifact - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-pages-artifact@v3 with: path: build - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v2 \ No newline at end of file + uses: actions/deploy-pages@v4 \ No newline at end of file diff --git a/.github/workflows/integrate.yml b/.github/workflows/integrate.yml index b88fd17..376321f 100644 --- a/.github/workflows/integrate.yml +++ b/.github/workflows/integrate.yml @@ -10,14 +10,14 @@ jobs: health: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: denoland/setup-deno@v1 with: deno-version: v1.44 - name: Cache Deno dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ env.DENO_DIR }} key: ${{ hashFiles('deno.lock') }} From a99ed74e28fcb5c468c4533165b8c09fdd8e0968 Mon Sep 17 00:00:00 2001 From: Max Duval Date: Mon, 1 Jul 2024 09:21:07 +0100 Subject: [PATCH 2/2] fix: add DENO_DIR --- .github/workflows/deploy.yml | 11 ++++++++--- .github/workflows/integrate.yml | 11 ++++++++--- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index c921a17..a9defe8 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -17,6 +17,9 @@ permissions: id-token: write # Needed for authentication pages: write # Needed for Github Pages +env: + DENO_DIR: /var/cache/deno + jobs: deno: name: Deploy to Deno Deploy @@ -26,7 +29,8 @@ jobs: - name: Clone repository uses: actions/checkout@v4 - - uses: denoland/setup-deno@v1 + - name: Set up Deno + uses: denoland/setup-deno@v1 with: deno-version: v1.44 @@ -58,7 +62,8 @@ jobs: - name: Clone repository uses: actions/checkout@v4 - - uses: denoland/setup-deno@v1 + - name: Set up Deno + uses: denoland/setup-deno@v1 with: deno-version: v1.44 @@ -81,4 +86,4 @@ jobs: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v4 \ No newline at end of file + uses: actions/deploy-pages@v4 diff --git a/.github/workflows/integrate.yml b/.github/workflows/integrate.yml index 376321f..59abc50 100644 --- a/.github/workflows/integrate.yml +++ b/.github/workflows/integrate.yml @@ -6,13 +6,18 @@ on: pull_request: workflow_dispatch: +env: + DENO_DIR: /var/cache/deno + jobs: health: runs-on: ubuntu-latest + steps: - uses: actions/checkout@v4 - - uses: denoland/setup-deno@v1 + - name: Set up Deno + uses: denoland/setup-deno@v1 with: deno-version: v1.44 @@ -27,9 +32,9 @@ jobs: - name: Lint run: deno lint - + - name: Test run: deno test -A --no-check - name: Check - run: deno check src/**.ts \ No newline at end of file + run: deno check src/**.ts