Skip to content

Ability to set API Key & API Key Secret manually #255

Ability to set API Key & API Key Secret manually

Ability to set API Key & API Key Secret manually #255

Workflow file for this run

name: onlytest
on:
push:
branches:
- main
paths:
- "**.go"
- "go.mod"
pull_request:
branches:
- "**"
paths:
- "**.go"
- "go.mod"
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.22
uses: actions/setup-go@v5
with:
go-version: "1.22"
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Get dependencies
run: go install
- name: Test code
run: go test -race -coverprofile="coverage.txt" -covermode=atomic github.com/michimani/gotwi/... -shuffle=on
- name: Upload code coverage to Codecov
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}