feat: notifications dismiss animations #344
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Pull request check workflow | |
# | |
# Runs linter and tests on source branch to check code quality. | |
# | |
# see: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions | |
# | |
name: Check Pull Request | |
on: [pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- id: go-cache-paths | |
run: | | |
echo "::set-output name=go-build::$(go env GOCACHE)" | |
echo "::set-output name=go-mod::$(go env GOMODCACHE)" | |
- uses: actions/checkout@v4 | |
- name: Go Build Cache | |
uses: actions/cache@v4 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-build }} | |
key: ${{ runner.os }}-go-build-${{ hashFiles('**/go.sum') }} | |
- name: Go Mod Cache | |
uses: actions/cache@v4 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-mod }} | |
key: ${{ runner.os }}-go-mod-${{ hashFiles('**/go.sum') }} | |
- uses: actions/cache@v4 | |
env: | |
cache-name: npm-cache | |
with: | |
path: "web/node_modules" | |
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-build-${{ env.cache-name }}- | |
- name: Install modules | |
run: yarn | |
working-directory: ./web | |
- name: Run ESLint | |
run: yarn lint | |
working-directory: ./web | |
- name: Run vitest | |
run: yarn test | |
working-directory: ./web | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: "^1.21.0" | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v6.0.1 | |
with: | |
version: v1.54.2 | |
- run: go version | |
- run: go test ./... |