Skip to content

Commit

Permalink
Better CI (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
cristaloleg authored Apr 18, 2022
1 parent 975765e commit 8100f9e
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: build

permissions: read-all

on:
push:
branches: [main]
Expand All @@ -13,11 +15,19 @@ on:

# See https://github.com/cristalhq/.github/.github/workflows
jobs:
test:
uses: cristalhq/.github/.github/workflows/test.yml@d310feb31f65450fb641e8fd98645b705080a913
build:
uses: cristalhq/.github/.github/workflows/build.yml@d8f219c7111863d360a6c6f978ee64d6371a045e # latest @ main

codeql:
if: github.event.repository.public
permissions:
security-events: write
uses: cristalhq/.github/.github/workflows/codeql.yml@d8f219c7111863d360a6c6f978ee64d6371a045e # latest @ main

release:
if: github.event_name == 'workflow_dispatch'
uses: cristalhq/.github/.github/workflows/release.yml@d310feb31f65450fb641e8fd98645b705080a913
uses: cristalhq/.github/.github/workflows/release.yml@d8f219c7111863d360a6c6f978ee64d6371a045e # latest @ main
permissions:
contents: write
with:
tag: ${{ github.event.input.tag }}

0 comments on commit 8100f9e

Please sign in to comment.