Skip to content

Bump golangci/golangci-lint-action from 6 to 7 in the dependencies gr… #629

Bump golangci/golangci-lint-action from 6 to 7 in the dependencies gr…

Bump golangci/golangci-lint-action from 6 to 7 in the dependencies gr… #629

Workflow file for this run

name: ci
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: write
deployments: write
jobs:
doc:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v2
with:
deno-version: v1.x
- name: Lint README
run: |
deno fmt --check ./README.md
- uses: bufbuild/buf-action@v1
with:
token: ${{ secrets.BUF_TOKEN }}
pr_comment: true
breaking: true
breaking_against: "https://github.com/ringsaturn/tzf.git#branch=main"
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: golangci-lint
uses: golangci/golangci-lint-action@v7
with:
version: latest
args: --timeout=5m
skip-cache: true
- name: Run coverage
run: go test -coverprofile=coverage.txt -covermode=atomic
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
- name: Bench
run: make bench | tee benchmark_result.txt