Skip to content

Commit

Permalink
Renaming Github workflow components (#17)
Browse files Browse the repository at this point in the history
Names according to actual actions
  • Loading branch information
dlampsi authored Aug 10, 2023
1 parent 26d2a2e commit 29874c6
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 42 deletions.
42 changes: 0 additions & 42 deletions .github/workflows/build.yml

This file was deleted.

40 changes: 40 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: ci
on:
push:
branches: [ main ]
paths-ignore:
- README.md
- LICENSE
pull_request:
branches: [ main ]
paths-ignore:
- README.md
- LICENSE

jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: 1.19

- name: Checkout
uses: actions/checkout@v3

- name: Download Go dependencies
env:
GOPROXY: "https://proxy.golang.org"
run: go mod download

- name: Tests
run: go test -race -v -coverprofile=coverage.out ./...

- name: Coverage
uses: codecov/codecov-action@v3
continue-on-error: true
with:
token: ${{secrets.CODECOV_TOKEN}}
file: ./coverage.out
fail_ci_if_error: false

0 comments on commit 29874c6

Please sign in to comment.