Merge pull request #11 from essentialkaos/develop

Workflows improvements
main
ᴀɴᴛᴏɴ ɴᴏᴠᴏᴊɪʟᴏᴠ 3 years ago committed by GitHub
commit 7d88a68a1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -6,6 +6,11 @@ on:
pull_request: pull_request:
branches: [master] branches: [master]
permissions:
actions: read
contents: read
statuses: write
jobs: jobs:
Go: Go:
name: Go name: Go
@ -21,7 +26,7 @@ jobs:
steps: steps:
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v2 uses: actions/setup-go@v3
with: with:
go-version: ${{ matrix.go }} go-version: ${{ matrix.go }}
id: go id: go
@ -86,7 +91,7 @@ jobs:
steps: steps:
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v2 uses: actions/setup-go@v3
with: with:
go-version: '1.17.x' go-version: '1.17.x'
id: go id: go

@ -6,7 +6,12 @@ on:
pull_request: pull_request:
branches: [master] branches: [master]
schedule: schedule:
- cron: '0 17 * * 1,3,5' - cron: '0 3 * * */2'
permissions:
security-events: write
actions: read
contents: read
jobs: jobs:
analyse: analyse:
@ -15,7 +20,7 @@ jobs:
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
fetch-depth: 2 fetch-depth: 2

@ -3,7 +3,7 @@ package badge
// ////////////////////////////////////////////////////////////////////////////////// // // ////////////////////////////////////////////////////////////////////////////////// //
// // // //
// Copyright (c) 2021 ESSENTIAL KAOS // // Copyright (c) 2022 ESSENTIAL KAOS //
// Apache License, Version 2.0 <https://www.apache.org/licenses/LICENSE-2.0> // // Apache License, Version 2.0 <https://www.apache.org/licenses/LICENSE-2.0> //
// // // //
// ////////////////////////////////////////////////////////////////////////////////// // // ////////////////////////////////////////////////////////////////////////////////// //

@ -2,7 +2,7 @@ package badge
// ////////////////////////////////////////////////////////////////////////////////// // // ////////////////////////////////////////////////////////////////////////////////// //
// // // //
// Copyright (c) 2021 ESSENTIAL KAOS // // Copyright (c) 2022 ESSENTIAL KAOS //
// Apache License, Version 2.0 <https://www.apache.org/licenses/LICENSE-2.0> // // Apache License, Version 2.0 <https://www.apache.org/licenses/LICENSE-2.0> //
// // // //
// ////////////////////////////////////////////////////////////////////////////////// // // ////////////////////////////////////////////////////////////////////////////////// //

Loading…
Cancel
Save