Skip to content

Commit

Permalink
Restore github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
raynaudoe committed Nov 25, 2024
1 parent 3037a95 commit 6a4780e
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 6 deletions.
21 changes: 17 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
name: Build
name: Build and Test
on:
pull_request:
merge_group:
push:
branches:
- cp-main
- main
- release/**
permissions:
contents: read

Expand All @@ -18,6 +20,17 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.23.0"
go-version: "1.22.2"
- name: Build
run: make
run: make build

test:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.22.2"
- name: Test
run: make test
5 changes: 3 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ on:
pull_request:
push:
branches:
- cp-main
- main
- release/**

permissions:
contents: read
Expand All @@ -15,6 +16,6 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.23.0"
go-version: "1.22.2"
- name: Run Linter
run: make lint

0 comments on commit 6a4780e

Please sign in to comment.