Skip to content

Commit

Permalink
infra: Style fixes for actions
Browse files Browse the repository at this point in the history
  • Loading branch information
BasedDepartment1 committed Nov 4, 2023
1 parent 7ea955e commit dcc7451
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
container:
image: golang:1.20.10-alpine
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Build
run: go build -v ./...
Expand All @@ -29,7 +29,7 @@ jobs:
container:
image: cytopia/goimports:latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Check style
run: goimports -local 'questspace/' -d -e ./src
5 changes: 3 additions & 2 deletions .github/workflows/pgmigrate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@ on: workflow_dispatch
jobs:
pgmigrate:
runs-on: ubuntu-22.04
container:
image: python:3.11.6-alpine3.18
steps:
- uses: actions/checkout@v4

- run: mkdir -p ~/.postgresql/ && echo -n '${{ vars.CA_CERTS }}' > ~/.postgresql/root.crt

- name: Install pgmigrate
run: pip install yandex-pgmigrate

- name: Apply migrations to database
working-directory: ./src/internal/pgdb
env:
Expand Down

0 comments on commit dcc7451

Please sign in to comment.