Skip to content

Commit

Permalink
fix action
Browse files Browse the repository at this point in the history
  • Loading branch information
trapajim committed Apr 12, 2024
1 parent c1fbebf commit 27c47f5
Showing 1 changed file with 17 additions and 8 deletions.
25 changes: 17 additions & 8 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,25 @@
# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go

name: test-ci
name: Test

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

jobs:

test:
runs-on: ubuntu-latest
steps:
- name: test
uses: trapajim/go-pipeline-action@v1
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.22.2'
go-vet: true
golangci-version: latest
go-test-flags: './... -v'
go-version: "1.22.2"

- name: Test
run: go test -v ./...

0 comments on commit 27c47f5

Please sign in to comment.