Skip to content

Commit dd6e07b

Browse files
authored
Merge pull request #16 from essentialkaos/develop
Workflows improvements
2 parents 76f841e + 02b7b08 commit dd6e07b

File tree

4 files changed

+11
-9
lines changed

4 files changed

+11
-9
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323

2424
steps:
2525
- name: Set up Go
26-
uses: actions/setup-go@v2
26+
uses: actions/setup-go@v3
2727
with:
2828
go-version: ${{ matrix.go }}
2929
id: go

.github/workflows/codeql.yml

+7-5
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,12 @@ on:
66
pull_request:
77
branches: [master]
88
schedule:
9-
- cron: '0 20 * * 1,3,5'
9+
- cron: '0 3 * * */2'
10+
11+
permissions:
12+
security-events: write
13+
actions: read
14+
contents: read
1015

1116
jobs:
1217
analyse:
@@ -15,13 +20,10 @@ jobs:
1520

1621
steps:
1722
- name: Checkout repository
18-
uses: actions/checkout@v2
23+
uses: actions/checkout@v3
1924
with:
2025
fetch-depth: 2
2126

22-
- run: git checkout HEAD^2
23-
if: ${{ github.event_name == 'pull_request' }}
24-
2527
- name: Initialize CodeQL
2628
uses: github/codeql-action/init@v1
2729
with:

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ module github.com/essentialkaos/uc
22

33
go 1.17
44

5-
require github.com/essentialkaos/ek/v12 v12.42.1
5+
require github.com/essentialkaos/ek/v12 v12.43.0
66

77
require golang.org/x/sys v0.0.0-20220319134239-a9b59b0215f8 // indirect

go.sum

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
22
github.com/essentialkaos/check v1.2.1 h1:avvyFy/1acUNwfxwuOLsHeCjfXtMygtbu0lVDr3nxFs=
33
github.com/essentialkaos/check v1.2.1/go.mod h1:PhxzfJWlf5L/skuyhzBLIvjMB5Xu9TIyDIsqpY5MvB8=
4-
github.com/essentialkaos/ek/v12 v12.42.1 h1:h3PPy0XNXUj1IsEid/p9IzaF0o5hZEGOBFh7XZawAyg=
5-
github.com/essentialkaos/ek/v12 v12.42.1/go.mod h1:Cv/tOZshmFg4pMJnBkg4aW/WyYhzzc41qzZIfk5RSi4=
4+
github.com/essentialkaos/ek/v12 v12.43.0 h1:lnwrfGYQFJ3EjEF4ydW2qnshDcXCR2OnNRk0kwlFpFE=
5+
github.com/essentialkaos/ek/v12 v12.43.0/go.mod h1:Cv/tOZshmFg4pMJnBkg4aW/WyYhzzc41qzZIfk5RSi4=
66
github.com/essentialkaos/go-linenoise/v3 v3.3.5/go.mod h1:g4X3LhT83XT4h7xwrCLclAdMkJvS9qWBQTGNdS6y4vo=
77
github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
88
github.com/kr/pretty v0.3.0 h1:WgNl7dwNpEZ6jJ9k1snq4pZsg7DOEN8hP9Xw0Tsjwk0=

0 commit comments

Comments
 (0)