Skip to content

Commit

Permalink
fix github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
leodeim committed Aug 22, 2023
1 parent b12f607 commit f288ff5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ name: "CodeQL"

on:
push:
branches: [ "main" ]
branches: [ "master" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "main" ]
branches: [ "master" ]
schedule:
- cron: '40 2 * * 5'

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Go

on:
push:
branches: [ "main" ]
branches: [ "master" ]
pull_request:
branches: [ "main" ]
branches: [ "master" ]

jobs:

Expand All @@ -16,7 +16,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18
go-version: 1.21

- name: Build
run: go build -v ./...
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<a href="">![Tests](https://github.com/leonidasdeim/cof/actions/workflows/go.yml/badge.svg)</a>
<a href="">![Code Scanning](https://github.com/leonidasdeim/cof/actions/workflows/codeql.yml/badge.svg)</a>
<a href="https://codecov.io/gh/leonidasdeim/cof" >
<img src="https://codecov.io/gh/leonidasdeim/cof/branch/main/graph/badge.svg?token=3275GV3OGX"/>
<img src="https://codecov.io/gh/leonidasdeim/cof/branch/master/graph/badge.svg?token=3275GV3OGX"/>
</a>
<a href="">![Report](https://goreportcard.com/badge/github.com/leonidasdeim/cof)</a>
<a href="">![Release](https://badgen.net/github/release/leonidasdeim/cof)</a>
Expand Down

0 comments on commit f288ff5

Please sign in to comment.