Skip to content

chore(deps): bump actions/checkout from 7.0.0 to 7.0.1 in the dependencies group #763

chore(deps): bump actions/checkout from 7.0.0 to 7.0.1 in the dependencies group

chore(deps): bump actions/checkout from 7.0.0 to 7.0.1 in the dependencies group #763

Workflow file for this run

name: build
on:
push:
branches:
- main
pull_request:
jobs:
job-test:
name: Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
permissions:
contents: write
pull-requests: write
actions: write
steps:
- name: Check out source code
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Set up Go
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version-file: go.mod
- name: Set up pnpm
uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
with:
package_json_file: internal/frontend/package.json
- name: Generate frontend assets
run: go generate ./internal/static/
- name: Run oxlint
if: runner.os == 'Linux'
run: cd internal/frontend && pnpm install && pnpm run lint
- name: Run oxfmt check
if: runner.os == 'Linux'
run: cd internal/frontend && pnpm run fmt:check
- name: Run lint
if: runner.os == 'Linux'
uses: reviewdog/action-golangci-lint@c76cceaaab89abe74e649d2e34c6c9adc26662d2 # v2.10.0
with:
fail_level: error
go_version_file: go.mod
cache: false
- name: Run gostyle
if: runner.os == 'Linux'
uses: k1LoW/gostyle-action@e1b847d37b3041c5fdb8b911bcf00b350779ca61 # v1.5.1
with:
config-file: .gostyle.yml
- name: Run tests
run: make ci
- name: Run octocov
if: runner.os == 'Linux'
uses: k1LoW/octocov-action@b3b6ee60482a667950f87553abf1df63217235d9 # v1.5.1