Skip to content

[Aikido] AI Fix for 3rd party Github Actions should be pinned #303

[Aikido] AI Fix for 3rd party Github Actions should be pinned

[Aikido] AI Fix for 3rd party Github Actions should be pinned #303

Workflow file for this run

name: go
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
permissions:
contents: read
checks: write
pull-requests: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.23.0
- name: Build
run: go build -v ./...
- name: Test
run: go test -v -p=1 -count=1 -coverprofile=coverage.txt -coverpkg=github.com/qor5/... ./...
- name: Upload coverage to Codecov
uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4
with:
token: ${{ secrets.CODECOV_TOKEN }}