2023-10-07 20:48:35 +02:00
|
|
|
name: Test
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2024-05-18 12:00:27 +02:00
|
|
|
- main # Set a branch to deploy
|
2023-10-07 20:48:35 +02:00
|
|
|
pull_request:
|
2024-05-18 12:00:27 +02:00
|
|
|
|
2023-10-07 20:48:35 +02:00
|
|
|
jobs:
|
2024-05-18 12:00:27 +02:00
|
|
|
test:
|
2023-10-07 20:48:35 +02:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
|
|
permissions:
|
|
|
|
contents: write
|
|
|
|
steps:
|
2024-05-10 11:02:51 +02:00
|
|
|
- uses: actions/checkout@v4
|
2023-10-07 20:48:35 +02:00
|
|
|
with:
|
2024-05-18 12:00:27 +02:00
|
|
|
fetch-depth: 0
|
2023-10-07 20:48:35 +02:00
|
|
|
|
|
|
|
- uses: denoland/setup-deno@v1
|
|
|
|
with:
|
|
|
|
deno-version: v1.x
|
|
|
|
|
2024-05-10 11:02:51 +02:00
|
|
|
- uses: szenius/set-timezone@v2.0
|
2023-10-07 20:48:35 +02:00
|
|
|
with:
|
|
|
|
timezoneLinux: "Europe/Prague"
|
|
|
|
|
2024-05-18 12:05:58 +02:00
|
|
|
- name: Cache
|
|
|
|
run: make cache
|
|
|
|
|
2023-10-07 20:48:35 +02:00
|
|
|
- name: Test
|
2024-05-10 11:02:51 +02:00
|
|
|
run: make test
|