Skip to content

Commit

Permalink
feat: enable cors
Browse files Browse the repository at this point in the history
  • Loading branch information
pete-eiger committed Mar 6, 2024
1 parent 081d2e8 commit e72ec86
Show file tree
Hide file tree
Showing 7 changed files with 316 additions and 258 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,17 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Install Go
run: |
if [ $(uname -m) = "aarch64" ]; then
wget https://golang.org/dl/go1.20.13.linux-arm64.tar.gz &&
sudo tar -C /usr/local -xzf go1.20.13.linux-arm64.tar.gz
else
wget https://golang.org/dl/go1.20.13.linux-amd64.tar.gz &&
sudo tar -C /usr/local -xzf go1.20.13.linux-amd64.tar.gz
fi
export PATH=$PATH:/usr/local/go/bin
- name: Docker meta
id: meta
uses: docker/metadata-action@v4
Expand Down Expand Up @@ -83,8 +94,6 @@ jobs:
run: sqlx migrate run

- uses: actions-rs/cargo@v1
env:
SQLX_OFFLINE: true
with:
command: test

Expand Down
Loading

0 comments on commit e72ec86

Please sign in to comment.