Skip to content

Commit e9a118d

Browse files
authored
Bump CI (#25)
1 parent accf19b commit e9a118d

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
name: build
22

3+
permissions: read-all
4+
35
on:
46
push:
57
branches: [main]
68
pull_request:
79
branches: [main]
810
schedule:
9-
- cron: '0 0 * * 0'
11+
- cron: '0 0 * * 0' # run "At 00:00 on Sunday"
1012
workflow_dispatch:
1113
inputs:
1214
tag:
@@ -17,13 +19,15 @@ on:
1719
# See https://github.com/cristalhq/.github/.github/workflows
1820
jobs:
1921
build:
20-
uses: cristalhq/.github/.github/workflows/build.yml@main
21-
22-
codeql:
23-
uses: cristalhq/.github/.github/workflows/codeql.yml@main
22+
uses: cristalhq/.github/.github/workflows/build.yml@v0.3.0
23+
24+
vuln:
25+
uses: cristalhq/.github/.github/workflows/vuln.yml@v0.3.0
2426

2527
release:
2628
if: github.event_name == 'workflow_dispatch'
27-
uses: cristalhq/.github/.github/workflows/release.yml@main
29+
permissions:
30+
contents: write
31+
uses: cristalhq/.github/.github/workflows/release.yml@v0.3.0
2832
with:
2933
tag: ${{ github.event.input.tag }}

0 commit comments

Comments
 (0)