Fix failing builds

This commit is contained in:
Jesse Wierzbinski 2023-11-28 11:39:30 -10:00
parent 700681314d
commit 6c57efae31
No known key found for this signature in database
3 changed files with 168 additions and 171 deletions

View file

@ -13,12 +13,12 @@ name: "CodeQL"
on:
push:
branches: [ "main" ]
branches: ["main"]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "main" ]
branches: ["main"]
schedule:
- cron: '18 19 * * 4'
- cron: "18 19 * * 4"
jobs:
analyze:
@ -38,7 +38,7 @@ jobs:
strategy:
fail-fast: false
matrix:
language: [ 'javascript-typescript' ]
language: ["javascript-typescript"]
# CodeQL supports [ 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift' ]
# Use only 'java-kotlin' to analyze code written in Java, Kotlin or both
# Use only 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both
@ -60,7 +60,6 @@ jobs:
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild

View file

@ -7,13 +7,13 @@ name: Build and publish Docker image
on:
schedule:
- cron: '22 5 * * *'
- cron: "22 5 * * *"
push:
branches: [ "main" ]
branches: ["main"]
# Publish semver tags as releases.
tags: [ 'v*.*.*' ]
tags: ["v*.*.*"]
pull_request:
branches: [ "main" ]
branches: ["main"]
env:
# Use docker.io for Docker Hub if empty
@ -21,10 +21,8 @@ env:
# github.repository as <account>/<repo>
IMAGE_NAME: ${{ github.repository }}
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
@ -43,7 +41,7 @@ jobs:
if: github.event_name != 'pull_request'
uses: sigstore/cosign-installer@6e04d228eb30da1757ee4e1dd75a0ec73a653e06 #v3.1.1
with:
cosign-release: 'v2.1.1'
cosign-release: "v2.1.1"
# Set up BuildKit Docker container builder to be able to build
# multi-platform images and export cache

View file

@ -11,12 +11,12 @@ name: ESLint Checks
on:
push:
branches: [ "main" ]
branches: ["main"]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "main" ]
branches: ["main"]
schedule:
- cron: '35 17 * * 3'
- cron: "35 17 * * 3"
jobs:
eslint:
@ -38,7 +38,7 @@ jobs:
- name: Generate Prisma Client
run: |
bun prisma generate
bunx prisma generate
- name: Run ESLint
run: |