Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump actions versions #49

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 14 additions & 9 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,25 @@ 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
runs-on: ubuntu-latest

steps:
- name: Clone repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- uses: denoland/setup-deno@v1
- name: Set up Deno
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') }}
Expand All @@ -56,14 +60,15 @@ jobs:

steps:
- name: Clone repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- uses: denoland/setup-deno@v1
- name: Set up Deno
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') }}
Expand All @@ -72,13 +77,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
uses: actions/deploy-pages@v4
15 changes: 10 additions & 5 deletions .github/workflows/integrate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,23 @@ on:
pull_request:
workflow_dispatch:

env:
DENO_DIR: /var/cache/deno

jobs:
health:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: denoland/setup-deno@v1
- name: Set up Deno
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') }}
Expand All @@ -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
run: deno check src/**.ts
Loading