Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
emarx committed Apr 12, 2024
1 parent 473f9e6 commit 4971f11
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 130 deletions.
12 changes: 0 additions & 12 deletions .github/FUNDING.yml

This file was deleted.

Empty file removed .github/custom_readme
Empty file.
13 changes: 0 additions & 13 deletions .github/workflows/atomicgo.yml

This file was deleted.

33 changes: 0 additions & 33 deletions .github/workflows/ci.yml

This file was deleted.

35 changes: 0 additions & 35 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

9 changes: 0 additions & 9 deletions .github/workflows/conventional-label.yaml

This file was deleted.

18 changes: 0 additions & 18 deletions .github/workflows/golangci.yml.bak

This file was deleted.

15 changes: 5 additions & 10 deletions .github/workflows/go.yml → .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Go
name: Test

on:
push:
Expand All @@ -12,17 +12,17 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
go: [1.18, 1.19]
os: [ ubuntu-latest, macos-latest ]
go: [1.22]
steps:
- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Get dependencies
run: go get -v -t -d ./...
Expand All @@ -32,8 +32,3 @@ jobs:

- name: Test
run: go test -coverprofile="coverage.txt" -covermode=atomic -race .

- name: Upload coverage to Codecov
if: success() && matrix.go == 1.18 && matrix.os == 'ubuntu-latest'
# uses: codecov/codecov-action@v1
run: bash <(curl -s https://codecov.io/bash)

0 comments on commit 4971f11

Please sign in to comment.